Authentication Errors

Authentication errors use this response shape:

json
{
  "ok": false,
  "error": "invalid_api_key"
}
ErrorStatusMeaning
invalid_api_key401The key is missing, unknown, expired, revoked, or owned by an inactive developer account.
redirect_uri_required409The developer account does not have a registered callback URL.
invalid_state400A valid connection-state value was not provided.
invalid_project_id400A valid project identifier was not provided.
project_not_connected403The API key has no active connection to the requested project.
connection_not_found404The requested active key-to-project connection does not exist.
invalid_authorization_code401The callback code is missing, unknown, unapproved, or belongs to another API key.
authorization_denied401The ModuSell user denied the connection.
authorization_code_used409The one-time authorization code has already completed a connection.
authorization_code_expired410The connection request expired before code exchange.