Skip to Content
AffFast

Error codes

Each error of the API has a code. Find the code here to see its cause and its fix.

Each error response has the same form. The field error.code is stable. Use it in your code. The field error.doc_url links to the page of the code. The field error.request_id identifies the request. Send it to support. See Errors for the form of the envelope.

CodeStatusTypeMeaning
api_version_unsupported400invalid_request_errorThe API version is not known.
connection_credentials_invalid422invalid_request_errorThe credentials do not match the network.
connection_disabled409invalid_request_errorThe connection is disabled. Only an operator can enable it.
connection_not_importable409invalid_request_errorThe connection does not take file imports.
connection_not_syncable409invalid_request_errorThe connection cannot run this sync now.
expand_invalid422invalid_request_errorThe expand parameter is not valid.
import_file_too_large422invalid_request_errorThe file is too large.
import_invalid422invalid_request_errorThe file has errors. The API imported no row. Fix the rows in details.
link_destination_not_allowed422invalid_request_errorThe destination is not on a domain that the program allows.
network_unavailable422invalid_request_errorThe network is not available in this mode.
parameter_invalid422invalid_request_errorA parameter is not valid.
program_deeplinks_unsupported422invalid_request_errorThe program has no deeplink template, so it cannot make links.
request_body_invalid400invalid_request_errorThe request body is not valid JSON.
request_invalid400invalid_request_errorThe request is not valid.
resource_already_exists409invalid_request_errorA resource with this name already exists.
resource_not_found404invalid_request_errorThe resource does not exist.
route_not_found404invalid_request_errorThe URL does not exist.
api_key_in_query400authentication_errorThe request has an API key in the query string. Send the key in the Authorization header.
api_key_invalid401authentication_errorThe API key is not valid.
authentication_required401authentication_errorThe request has no valid credentials.
permission_denied403permission_errorThe API key cannot use this resource.
scope_insufficient403permission_errorThe API key does not have the scope for this request.
test_mode_only403permission_errorThis resource works only in test mode. Use a test key (sktest...).
rate_limit_exceeded429rate_limit_errorToo many requests. Wait and try again.
idempotency_key_invalid400idempotency_errorThe Idempotency-Key header is not valid. Use 1 to 256 printable characters.
idempotency_key_reused409idempotency_errorThis Idempotency-Key was used with a different request.
idempotent_request_in_progress409idempotency_errorA request with this Idempotency-Key is still in progress.
internal_error500api_errorAn error occurred on our side. Try again later.
plan_limit_reached403permission_errorThe plan of the workspace has reached its limit. Upgrade the plan to go on.