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

From SCS Modding Wiki
Jump to navigation Jump to search
m
 
(3 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 48: Line 48:
 
|}
 
|}
  
{{UsefulLink|If you want to see all possible errors and solutions for them check this page - [[Tools/SCS Workshop Uploader/Validation errors and solutions for them|Validation errors and solutions for them]]}}
+
{{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 58: 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
Line 64: Line 64:
 
|Field that should be not set is set. Not critical but should be fixed.
 
|Field that should be not set is set. Not critical but should be fixed.
 
|}
 
|}
 
[[Category:Documentation]]
 
[[Category:SCS Workshop Uploader]]
 

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.