Error Codes
There may be times when an API request doesn't return the response you expected. To best help you understand what has happened and how you can resolve it, Showpad API has an extensive list of errors and error types.
The contents of this page are not applicable for Content Reporting.
Parameter Errors
Parameter errors occur when an incorrect query parameter has been entered.
Code | Name |
---|---|
2001 | InvalidParameterError |
2002 | NegativeParameterError |
2003 | NotNumericParameterError |
2004 | NotIntegerParameterError |
Persistence Errors
Persistence errors occur when an operation cannot be completed because it is not possible on a data level. For example,
if an unknown ID is submitted, a ResourceNotFoundError
will be returned
Code | Name |
---|---|
3000 | PersistenceError |
3001 | RelationshipDoesNotExistError |
3002 | RelationshipExistsError |
3003 | RelationshipNotFound |
3004 | ResourceNotFoundError |
3005 | SubcollectionNotFoundError |
3006 | UnableToDeleteError |
3007 | RelationshipUnsupportedError |
3008 | ResourceNotModifiableError |
Validation Errors
Validation errors occur when an operation cannot be completed because the entity or entities being submitted do not
conform to Showpad requirements. For example, if a username is already registered, a NotUniqueValidationError
will be
returned.
Code | Name |
---|---|
4000 | ValidationError |
4001 | ChoiceValidationError |
4002 | DateTooEarlyValidationError |
4003 | DateTooLateValidationError |
4004 | FileTooBigValidationError |
4005 | FileValidationError |
4006 | FormatValidationError |
4007 | I18nValidationError |
4008 | IsRequiredValidationError |
4009 | NotUniqueValidationError |
4010 | TooFewCharsValidationError |
4011 | TooManyCharsValidationError |
4012 | UnavailableValidationError |
4013 | WrongFileTypeValidationError |
4014 | NoLicensesLeftValidationError |
4015 | OwnerAlreadyExistsValidationError |
4016 | UrlUnavailableValidationError |
4017 | BelowMinimumValidationError |
4018 | AboveMaximumValidationError |
4019 | OwnerDoesNotExistValidationError |
4020 | OwnerLockoutValidationError |
4021 | ProfileLimitReachedValidationError |
4022 | NoLowerCaseCharacterValidationError |
4023 | NoUpperCaseCharacterValidationError |
4024 | NoNumericCharacterValidationError |
4025 | NoSymbolicCharacterValidationError |
4026 | NotUniqueOverLatestChangesValidationError |
4027 | NotUniqueOverTimeValidationError |
4028 | FileTooSmallValidationError |
4029 | RevokedCatalogValidationError |
Body Errors
Body errors are returned when the format entered in the request's body is invalid.
Code | Name |
---|---|
5000 | InvalidBodyError |
5001 | InvalidJsonBodyError |
5002 | TooManyResourcesInBodyError |