Sloxly Docs
OAuth Captcha Console

OAuth Error Codes

When an error occurs during the OAuth flow, the API returns a JSON response with a status of "error" and a descriptive message.

Authorization Errors

ErrorCauseFix
invalid_clientClient ID not foundVerify your client_id
invalid_redirect_uriRedirect URI not registeredAdd it in Developer Console
access_deniedUser declined authorizationHandle gracefully in your app

Token Errors

ErrorCauseFix
invalid_grantCode expired or already usedRequest a new authorization code
invalid_clientWrong client_secretCheck your client secret
missing_parametersRequired fields missingInclude all required POST params

User Info Errors

ErrorCauseFix
invalid_tokenToken expired or invalidRequest a fresh access token
missing_authorizationNo Bearer token sentAdd Authorization header

Error Response Format

JSON
{
    "status": "error",
    "error": "invalid_client",
    "message": "Client ID not found"
}
← PreviousUser Info