3306ID
Contents

3306 ID/Developer guide

API and errors

Parameters and sample responses for each endpoint are in Protocol and examples. To return to your site after sign-out, pass client_id and an exactly registered post_logout_redirect_uri to /oauth/logout; the user confirms before being redirected. App icons are served from /oauth/icon by content hash, with size 64 or 256.

Refusals on the sign-in and consent pages:

CodeWhat the user seesWhat to do
audience_limitThis app isn't verified yet and has reached the user limit for unverified appsVerify ownership of every authorized domain; the limit is lifted straight away
app_suspended3306 has suspended this app, so it can't be used to sign in with 3306Read the suspension notice, fix the problem and appeal from the console
access_deniedThe operation was not allowedIf the user cancelled, return them to your site
login_requiredSign inReturned for prompt=none; fall back to interactive authorization
consent_requiredConsent is neededReturned for prompt=none; fall back to interactive authorization
invalid_credentialsCheck the address, code or passwordThe user resolves this on the platform page
account_disabledThe account has been disabledThe user contacts support from the platform page
human_checkComplete the security checkThe user resolves this on the platform page

Errors returned by protocol endpoints:

CodeMeaningWhat to do
invalid_requestA request parameter is wrongCheck the exact callback URL, S256, state and nonce
unsupported_response_typeOnly code is supportedUse response_type=code
unsupported_grant_typeThe grant type is not supportedUse authorization_code or refresh_token
invalid_scopeA scope is not allowedInclude openid and request only scopes enabled for the app
invalid_clientClient authentication failedCheck the secret, the client type and that the credential is enabled
invalid_grantThe code or refresh token is not validA code works once within 60 seconds; check code_verifier; never reuse a refresh token
invalid_tokenThe access token is not validClear your session and start sign-in again
slow_downToo many requestsBack off as Retry-After says. In the console, it means you have created today's maximum number of apps; try again tomorrow
server_errorThe service is temporarily unavailableRetry later and preserve the user's work

Messages in the console:

CodeMeaningWhat to do
developer_requiredThe developer profile is incompleteComplete the profile and verify the contact email
invalid_metadataA field has the wrong formatCorrect it against the field reference
invalid_iconThe icon does not meet the requirementsUse a square still image, 120 px or larger, up to 1 MB
invalid_domainA domain, callback or origin is not acceptableCheck the authorized domains, HTTPS and exact URLs
reserved_nameThe name is protected, or matches any existing normalized app name or impersonates a verified brandUse your own product name
misleading_textA name or description contains a check mark or words such as “verified” or “official”Remove those words or symbols
app_limitThe app limit has been reachedEach account may have up to 10 apps; delete one you no longer use first
stale_reviewThe page is out of dateReload the page and try again
reason_requiredA reason is requiredAdd a reason to the appeal or report
send_failedAn email could not be sentTry again later

Developer terms · Privacy notice