Improve description for FILE_ID_INVALID (#1531)

This commit is contained in:
Pascal Jürgens 2020-08-23 19:39:29 +02:00 committed by GitHub
parent bc799fd82c
commit bde38fb748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ EXPORT_CARD_INVALID,400,Provided card is invalid
EXTERNAL_URL_INVALID,400,External URL invalid EXTERNAL_URL_INVALID,400,External URL invalid
FIELD_NAME_EMPTY,,The field with the name FIELD_NAME is missing FIELD_NAME_EMPTY,,The field with the name FIELD_NAME is missing
FIELD_NAME_INVALID,,The field with the name FIELD_NAME is invalid FIELD_NAME_INVALID,,The field with the name FIELD_NAME is invalid
FILE_ID_INVALID,400,The provided file id is invalid FILE_ID_INVALID,400,"The provided file id is invalid. Make sure all parameters are present, have the correct type and are not empty (ID, access hash, file reference, thumb size ...)"
FILE_MIGRATE_X,303,The file to be accessed is currently stored in DC {new_dc} FILE_MIGRATE_X,303,The file to be accessed is currently stored in DC {new_dc}
FILE_PARTS_INVALID,400,The number of file parts is invalid FILE_PARTS_INVALID,400,The number of file parts is invalid
FILE_PART_0_MISSING,,File part 0 missing FILE_PART_0_MISSING,,File part 0 missing

1 name codes description
100 EXTERNAL_URL_INVALID 400 External URL invalid
101 FIELD_NAME_EMPTY The field with the name FIELD_NAME is missing
102 FIELD_NAME_INVALID The field with the name FIELD_NAME is invalid
103 FILE_ID_INVALID 400 The provided file id is invalid The provided file id is invalid. Make sure all parameters are present, have the correct type and are not empty (ID, access hash, file reference, thumb size ...)
104 FILE_MIGRATE_X 303 The file to be accessed is currently stored in DC {new_dc}
105 FILE_PARTS_INVALID 400 The number of file parts is invalid
106 FILE_PART_0_MISSING File part 0 missing