Public API Error Codes
Commons
commons.url_not_found
The URL does not exist in our API. Please check the documentation and make sure the path you provided is correct.
Authentication
credentials.oauth2.invalid_request.invalid_request_content_type
The content type of the request must be "application/x-www-form-urlencoded".
credentials.oauth2.invalid_request.required_parameters_missing
The request has missing or invalid required parameters.
credentials.oauth2.invalid_client
Client authentication failed (e.g., unknown client, wrong secret, no client authentication included, or unsupported authentication method).
credentials.oauth2.invalid_grant
Error in the authorization flow. Examples: client doesn't have access to all attributes in the requested scope, refresh token has been revoked, authorization code has already been consumed...
credentials.oauth2.unauthorized_client
Client is not allowed to use the specified grant type flow.
credentials.oauth2.unsupported_grant_type
The requested authorization grant type is not supported by the server.
credentials.oauth2.invalid_scope
One of the requested scopes is invalid.
Documents
documents.bad_request.owner_id_absent
The owner_id query parameter is required.
documents.not_found.document
The requested document could not be found.
documents.not_found.category
The requested category could not be found.
documents.conflict.file_unsafe.download
The file for which a download was requested has been determined to be unsafe by our virus scanning process.
documents.invalid_request.date_format
The date must be in the format YYYY-MM-DD.
documents.invalid_request.name_length
The name must be less than 256 characters.
documents.invalid_request.name_empty
The name value must not be null or an empty string.
documents.invalid_request.comment_null
The comment value must not be null.
documents.invalid_request.category_id_empty
The category.id value must not be null or an empty string.
documents.invalid_request.limit
The limit parameter must be an integer in the range 1-200.
Compensations
compensations.filter.bad_request
Provided filters are invalid.

