Skip to content

Error codes

Generated from the source code of the Toto backend (version 2.4.8).

Errors are returned as TotoError: { "code": "auth:70", "message": "…", "details": [ { "path": "…", "message": "…" } ] }. details names e.g. the invalid fields of a request.

Code Name Message
common:9 NotAuthenticatedError user is not authenticated
common:10 NotAllowedError user is not allowed to perform this action
common:11 PersistenceError persistence error
common:12 InvalidContentTypeError the content type of the uploaded image is invalid for this request
common:19 NotImplementedError not yet implemented
common:21 InvalidQueryStringError invalid query string
common:22 InvalidJsonPayloadError invalid json payload
common:31 EntityNotFoundError entity not found error)
common:32 UnsupportedRepoEntityTypeError
common:41 TotoServiceError toto-service error
common:42 UnknownTotoServiceError unknown toto service error
common:43 TotoServiceUnavailableError
common:44 TotoServiceNotImplementedError
common:45 TotoServiceParseResponseError External service parsing error
common:51 UploadFileError upload error
common:52 MaxFileSizeError max file size exceeded
common:53 NoFileSpecifiedError no file has been spcified
common:54 TooManyFilesSpecifiedError too many files found in request
common:55 UnsupportedContentTypeError unsupported content type error
common:56 UploadImageError uploaded file is not a valid image
Code Name Message
auth:10 AuthenticationError authentication failed
auth:11 AlreadyLoggedInError already logged in
auth:12 AccountNotActivatedYetError account is not activated yet
auth:13 AccountIsBannedError account is banned
auth:14 AccountIsInactiveError account is inactive
auth:15 NoAnonAccountError account is not anonymised
auth:16 AuthSessionExpiredError session token is expired
auth:17 InvalidAccountRoleError invalid account role
auth:18 InvalidAuthTokenError invalid auth token
auth:19 AccountAlreadyActivatedError account already activated
auth:20 UsernameExistsError username already exists
auth:21 EmailExistsError email already exists
auth:26 InvalidActivationCodeError invalid activation code
auth:27 InvalidUsernameCharacters a username can only contain a-z, A-Z, _, ., - and space
auth:28 SendEmailNotificationFailedError account has been created but sending an activation code failed. please contact our support
auth:31 NoPasswordDefinedError there is no property for password associated to this account
auth:33 CreateTempAccountError could not create temp account
auth:34 AccountNotFoundError account not found
auth:35 NoPasswordResetInitiatedError no password reset has been triggered
auth:36 PasswordResetExpiredError password reset process expired
auth:40 EmailDoesNotMatchError provided email does not match defined email when started account migration
auth:41 MigrationNotInitializedError migration process has not been inialized for given account
auth:51 SmsServiceNotEligibleError the user is not eligible for sms service
auth:52 PhoneInvalidError not specified or invalid phone number
auth:53 InvalidPhoneConfirmationCodeError invalid confirmation code for phone number confirmation
auth:60 PasskeyRegistrationError passkey registration failed
auth:61 PasskeyAuthenticationError passkey authentication failed
auth:62 PasskeyCredentialError passkey credential operation failed
auth:63 PasskeyCredentialNotFoundError passkey credential not found
auth:64 InvalidCredentialIdError invalid credential id format
auth:65 EmailAlreadyExistsError email address already registered
auth:70 ApiKeyInvalidError invalid api key
auth:71 ApiKeyExpiredError api key is expired
auth:72 ApiKeyRevokedError api key has been revoked
auth:73 ApiKeyNotAllowedError this endpoint can not be used with an api key
auth:74 ApiKeyRepoNotGrantedError api key has no access to this repository
auth:75 ApiKeyReadOnlyError api key is read only
auth:76 ApiKeyDeleteNotAllowedError api key is not allowed to delete
auth:77 ApiKeyLimitReachedError maximum number of active api keys reached
auth:78 ApiKeyRepoPermissionError no permission for the specified repository
auth:79 ApiKeyNotFoundError api key not found
auth:80 ApiKeyRequiredError this endpoint requires an api key
Code Name Message
account:34 AvatarNotDefinedError avatar is not defined
account:35 AvatarNotAnImageError uploaded file is not an image
account:42 DeleteAccountError error deleting account
Code Name Message
admin:0 SetupAlreadyDoneError setup already done error
admin:10 RepoAlreadyExistsError either title or title slug already exists
admin:11 ObjectServiceAccountAlreadyExistsError object service account already exists
admin:12 RepoOwnerAlreadyExistsError account is already owner of the repository
admin:13 InvalidObjectServiceUrlError invalid object-service server
admin:14 InvalidSetupTokenError invalid setup token
admin:15 RepoNameOrSlugExistsError either title or title slug already exists
admin:20 OwnerAlreadyExistsError the specified account is already owner of the repository
Code Name Message
edit:10 EditActionNotAllowedError action is not allowed for this user
edit:11 RepoMatchError repo does not match
edit:21 RepoVarNameExistsError repo var name already exists
edit:22 RepoVarNameError repo var name error
edit:23 RepoVarDefaultValueError repo var type does not match default value
edit:24 RepoVarScopeError variable has invalid scope
edit:31 RepoElementNameExistsError an element with the specified title already exists in the repository
edit:32 RepoElementHasReferencesError the specified element is referenced by other entities of the repository
edit:33 RepoChallengeHasReferencesError the specified challenge is referenced by other entities of the repository
edit:34 DuplicateGraphNodeIdError graph contains duplicate node id’s
edit:35 DuplicateGraphNodeRefIdError graph contains duplicate ref id’s
edit:36 RepoChallengeNameExistsError a challenge with the specified title already exists in the repository
edit:37 RepoStoryNameExistsError a story with the specified title already exists in the repository
edit:38 RepoAreaNameExistsError an area with the specified title already exists in the repository
edit:39 BinaryIsReferencedError the repo file is referenced in content
edit:40 RemoveBinaryError error removing repo binary from repository
edit:41 DuplicateMd5Error the file already exits for this repository
edit:42 MaxScriptsPerTriggerError maximum number of scripts per event trigger reached
edit:43 MaxObjectsPerTriggerError maximum number of objects per event trigger reached
edit:44 DuplicateTriggerError a single trigger event defined the same variable or object multiple times
edit:47 RepoEntityNameExistsError an entity with that name already exists for this repository
edit:50 InvalidRepoPermissionRoleError invalid repo permission role
edit:51 PermissionAlreadyExistsError the specified permission already exists for this account in this repository
edit:52 InvalidRepoPermissionError invalid repo permission role
edit:81 TotoObjectServiceAccountNotFoundError repository does not define a toto object service account
edit:101 GitlabLoginError gitlab login error
Code Name Message
op:1 InvalidRepoError repository conflict
op:10 BatchSessionDeleteError could not delete all toto sessions
Code Name Message
session:10 InvalidVoucherError invalid voucher
session:11 VoucherNotValidYetError voucher not valid yet
session:12 VoucherExpiredError voucher expired
session:13 VoucherRestrictsAccountError voucher restrictions on account
session:14 VoucherRestrictsMaxError voucher restrictions max reached
session:15 NoLangDefinedError the story has no language defined
session:16 LangNotSupportedError the requested lang is not supported by the story
session:20 RepoStatusError repo status error
session:30 SessionStatusError session status error
session:31 SessionOwnerError not the owner of the session
session:32 AlreadyRunningError running session exists already for that account
session:33 ElementNotProcessedError the element has not been solved yet
session:34 NoInputFileAvailableError the processed element does not contain a user input file
session:35 NoMultiplayerStoryError the story does not support multiplayer mode
session:36 NotSessionOwnerError the requesting user does not own the session
session:37 MaxInvitesUsedError maximum number of invites used
session:40 SessionPermissionError the requesting account has no access to this session
session:41 UndefinedSolutionError the required solution is not defined for the specified element
session:42 WrongSolutionError provided solution is wrong
session:43 InvalidElementTypeError the specified element has not the correct type
session:44 TaskWithoutChallengeError there is no challenge associated with this task
session:45 ElementAlreadyProcessedError the element has already been processed and is declared as solved
session:46 ElementNotReleased the element has not been released for this session
session:47 ChosenChoiceNotPartOfChallengeGraphError the chosen choice is not part ot the challenge graph
session:48 NoSkipDefinedError the element does not have a skip option defined
session:49 SkipTaskYetImpossible element can not be skipped just yet
session:50 CoinAlreadyCollectedError coin has already been collected
session:51 UnknownStoryCoin the coin is not associated with the story
session:52 DynamicElementScriptUndefined element has no script defined
session:53 ScriptedChoiceNotPartOfChallengeGraphError the element chosen by dynamic script is not part of the challenge graph
session:54 BinaryNotAssociatedError binary is not associated to the requested entity
session:55 BinaryNotAllowedError insufficient permissions to fetch the binary
session:56 ManualTriggerDelayError trigger not yet available due to delay defined
session:57 ManualTriggerMaxError max number of trigger executions reached
session:58 EmptyUserInputTaskSolutionError empty user input solution
session:59 InputSolutionRequiresTextError input solution requires text
session:60 InputSolutionRequiresImageError input solution requires image
session:61 ManualTriggerNotDefinedError no manual trigger defined for that element
session:62 SessionTokenUsedError the given token is already used in a started session
Code Name Message
pub:11 InsufficientBinaryAccessType requested binary is not available Public
pub:31 InvalidRepoAccessTokenError invalid access token for repository
Code Name Message
script:10 ScriptServiceUndefinedError script service is not defined
script:11 ScriptExecutionError script execution failed
script:12 ScriptExecutionTimeoutError script execution timeout
script:13 ScriptResponseParseError script result can not be parsed
Code Name Message
service:21 UnknownS3ServiceError unknown S3 service error
service:22 AccessS3BucketError error accessing S3 bucket
service:30 SendEmailError error sending email
service:32 SendSmsError error sending sms
Code Name Message
backend:9 PersistenceError persistence error
backend:99 MigrationError migrating an entity failed