Status codes¶
Reference · Operations
POST /raas/optimization¶
| Code | Meaning | What to do |
|---|---|---|
202 |
Accepted for processing | Store the id, start polling GET. |
400 |
Input validation failed | Fix the payload (see the error message). |
403 |
Unauthorized (key lacks permission) | Check the key's scope. |
404 |
Path not found | Check the URL. |
429 |
Rate limit exceeded | Back off and retry. |
500 |
Internal service error | Retry with backoff; contact support if it persists. |
GET /raas/optimization/{id}¶
| Code | Meaning | What to do |
|---|---|---|
200 |
Solution ready | Read solution. Done. |
202 |
Still processing | Poll again shortly. |
400 |
Bad request / infeasible | Inspect the error; the problem may be infeasible. |
401 |
Unauthorized | Missing/invalid key. |
500 |
Internal service error | Retry with backoff. |
202 means two different things
On POST, 202 = accepted. On GET, 202 = still solving. Both are normal — only GET 200 carries the solution.
Related: Polling and backoff · Rate limits and errors · How optimization works