400 | A missing or invalid field, such as a malformed symbol | Read the error body and fix the request. |
401 | The token is missing, expired or not an Itoflow access token | Refresh the token or sign in again. |
403 with error code: 1010 | The request uses Python’s default User-Agent (Python-urllib), which the API rejects | Set your own User-Agent header, such as my-app/1.0. |
403 | Your account can’t use this resource, your plan doesn’t cover it, or the request’s Origin header names a site the API doesn’t accept | Check the account you signed in with and your plan or credits. If you call from a server, don’t forward the browser’s Origin header. |
404 | The resource doesn’t exist, or isn’t yours | Check the ID and the account. |
409 | The request conflicts with the current state: a newer version, a duplicate name, a pending deletion, a monitor moving to its new runtime, changed plan terms or a changed trade proposal | Read the error code and the current state. If a person approved the old state, show them the new one before you retry. |
422 | Identifiers that disagree or aren’t supported | Read the reason and the supported values it returns. |
429 | Rate limited | Wait for Retry-After seconds, then retry. |
5xx | A temporary problem at Itoflow or a data provider | Retry reads a few times, waiting longer each time. Check the state before retrying a write. |