Difference between revisions of "Documentation/Tools/SCS Workshop Uploader/Warning and error codes"

From SCS Modding Wiki
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
In result of validation you can get errors and warnings. With most of them you also have descriptive information about what is the real reason of it. We present you list of the error and warning codes with the explanation what they mean.
+
In the validation results you can get errors and warnings. With most of them you also have descriptive information about what is the real reason of it. We present you the list of the error and warning codes with the explanation of what they mean.
  
 
'''Errors:'''
 
'''Errors:'''
Line 24: Line 24:
 
|-
 
|-
 
|00005
 
|00005
|Missing required attribute | Some of the required unit attribute is not set.
+
|Missing required attribute
 +
| Some of the required unit attribute is not set.
 
|-
 
|-
 
|00006
 
|00006
Line 46: Line 47:
 
|Field that must not be set was set.
 
|Field that must not be set was set.
 
|}
 
|}
 +
 +
{{UsefulLink|If you want to see all possible errors and solutions for them check this page - [[Documentation/Tools/SCS Workshop Uploader/Validation errors and solutions for them|Validation errors and solutions for them]]}}
  
 
'''Warnings:'''
 
'''Warnings:'''
Line 55: Line 58:
 
|00001
 
|00001
 
|Generic warning
 
|Generic warning
|Any warning that does not fit warning codes bellow.
+
|Any warning that does not fit warning codes below.
 
|-
 
|-
 
|00002
 
|00002

Latest revision as of 00:20, 13 March 2023

In the validation results you can get errors and warnings. With most of them you also have descriptive information about what is the real reason of it. We present you the list of the error and warning codes with the explanation of what they mean.

Errors:

Code Name Description
00001 Generic error Any error that does not fit error codes below.
00002 File not found File is not found.
00003 Not allowed Something that is not allowed for example placing ".." in paths or windows-like path separators.
00004 Malformed file The file is malformed and will definitely crash the game - you should try to reexport it or resave it.
00005 Missing required attribute Some of the required unit attribute is not set.
00006 Access denied Tool failed to create file or read it.
00007 Not supported Some file has not supported version or some feature is not supported.
00008 Unable to load Unable to load some file - in most cases its similar to `00002` error.
00009 File is too big File is too big.
00010 Unused field set Field that must not be set was set.

Warnings:

Code Name Description
00001 Generic warning Any warning that does not fit warning codes below.
00002 Unused field set Field that should be not set is set. Not critical but should be fixed.