Error codes
API calls
| Code | Meaning | How to resolve |
|---|---|---|
401 invalid_api_key | The key is invalid or revoked | Regenerate the key and update the caller |
402 PROJECT_COMPUTE_UNAVAILABLE | No active grant for the project, or the pool cannot serve | Ensure an active grant, an unfrozen pool and a configured provider |
402 INSUFFICIENT_PROJECT_POINTS | Limit or points exhausted | Add more grant, or raise the key limit |
Projects & content
| Code | Meaning | How to resolve |
|---|---|---|
PROJECT_LIMIT_REACHED | Project count reached the cap | Remove projects you no longer use |
README_TOO_LONG | Project intro too long | Trim it to the allowed length |
| Media type / size error | Unsupported type or over the size limit | Replace the file as prompted |
Incubation delivery
| Code | Meaning | How to resolve |
|---|---|---|
MILESTONE_ARTIFACT_MISSING | Missing source bundle or App release | Upload a source bundle and publish a release first |
MILESTONE_APP_NOT_BUILT_FROM_SOURCE | The App was not built from source | Build from code on the SUITY build platform, then publish |
MILESTONE_ARTIFACT_NOT_NEW | Artifacts are not newer than the previous version | Upload a new source bundle and publish a new release |
MILESTONE_OUT_OF_ORDER | Versions out of order | Approve the previous version first |
MILESTONE_UNDER_DISPUTE | The version is frozen by a dispute | Submit again after the dispute is resolved |
Deletion gates
| Code | Meaning | How to resolve |
|---|---|---|
PROJECT_DELETE_BLOCKED | The project has a live incubation agreement or publishing contract | Terminate the agreement / contract first |
ORGANIZATION_DELETE_BLOCKED | The organization has a live incubation agreement, publishing contract or compute grant | Resolve those first |
Tips
- API errors use the OpenAI shape:
{ error: { message, type, param, code } }. - Gate errors usually appear as prompts at the entry; you can proceed once you reach the required verification level.
