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:
| Code | What the user sees | What to do |
|---|---|---|
| audience_limit | This app isn't verified yet and has reached the user limit for unverified apps | Verify ownership of every authorized domain; the limit is lifted straight away |
| app_suspended | 3306 has suspended this app, so it can't be used to sign in with 3306 | Read the suspension notice, fix the problem and appeal from the console |
| access_denied | The operation was not allowed | If the user cancelled, return them to your site |
| login_required | Sign in | Returned for prompt=none; fall back to interactive authorization |
| consent_required | Consent is needed | Returned for prompt=none; fall back to interactive authorization |
| invalid_credentials | Check the address, code or password | The user resolves this on the platform page |
| account_disabled | The account has been disabled | The user contacts support from the platform page |
| human_check | Complete the security check | The user resolves this on the platform page |
Errors returned by protocol endpoints:
| Code | Meaning | What to do |
|---|---|---|
| invalid_request | A request parameter is wrong | Check the exact callback URL, S256, state and nonce |
| unsupported_response_type | Only code is supported | Use response_type=code |
| unsupported_grant_type | The grant type is not supported | Use authorization_code or refresh_token |
| invalid_scope | A scope is not allowed | Include openid and request only scopes enabled for the app |
| invalid_client | Client authentication failed | Check the secret, the client type and that the credential is enabled |
| invalid_grant | The code or refresh token is not valid | A code works once within 60 seconds; check code_verifier; never reuse a refresh token |
| invalid_token | The access token is not valid | Clear your session and start sign-in again |
| slow_down | Too many requests | Back off as Retry-After says. In the console, it means you have created today's maximum number of apps; try again tomorrow |
| server_error | The service is temporarily unavailable | Retry later and preserve the user's work |
Messages in the console:
| Code | Meaning | What to do |
|---|---|---|
| developer_required | The developer profile is incomplete | Complete the profile and verify the contact email |
| invalid_metadata | A field has the wrong format | Correct it against the field reference |
| invalid_icon | The icon does not meet the requirements | Use a square still image, 120 px or larger, up to 1 MB |
| invalid_domain | A domain, callback or origin is not acceptable | Check the authorized domains, HTTPS and exact URLs |
| reserved_name | The name is protected, or matches any existing normalized app name or impersonates a verified brand | Use your own product name |
| misleading_text | A name or description contains a check mark or words such as “verified” or “official” | Remove those words or symbols |
| app_limit | The app limit has been reached | Each account may have up to 10 apps; delete one you no longer use first |
| stale_review | The page is out of date | Reload the page and try again |
| reason_required | A reason is required | Add a reason to the appeal or report |
| send_failed | An email could not be sent | Try again later |