# Status codes

| Code | HTTP | Message | Meaning | Billed |
|---|---|---|---|---|
| 20000 | 200 | Ok. | The task returned data. Its `cost` is what we charged. | yes |
| 20100 | 200 | Task Created. | A task_post task was accepted and queued. Read it with task_get once tasks_ready lists it. Nothing is charged until it returns data. | no |
| 40006 | 400 | You can send up to 100 tasks in one request. | One POST carried more than 100 tasks. Nothing ran. | no |
| 40100 | 401 | Authentication required. Use any login and your dg_ API key as the password. | No credentials were sent. Use HTTP Basic with any login and your `dg_` key as the password, or `Authorization: Bearer dg_...`. | no |
| 40101 | 401 | Authentication failed. The API key is missing, malformed or revoked. | The API key is missing, malformed or revoked, or its owner is no longer a member of an organization. | no |
| 40102 | 200 | No Search Results. | The request ran but there was no data to return: an empty results page, or no fetch level got the page. You weren't billed. | no |
| 40202 | 429 | Too many requests. Retry shortly. | Too many requests for this key. Wait for the `Retry-After` seconds and retry. | no |
| 40210 | 402 | Insufficient funds. Top up your wallet and retry. You weren't billed. | Your wallet balance is below the most this request could cost (the worst case its `max_level` or `max_cost` allows). Nothing ran. | no |
| 40400 | 404 | Not Found. | No route at this path. Check it against `/v1/account/support_matrix`. | no |
| 40401 | 200 | Task Not Found. | No task with this id in your organization. | no |
| 40402 | 404 | This endpoint isn't available yet. See /v1/account/support_matrix. You weren't billed. | The route exists in the catalog but isn't served yet, or the service behind it isn't set up on this server. You weren't billed. | no |
| 40501 | 200 | Invalid Field. | A field in the task failed validation. `status_message` names the field. The task didn't run. | no |
| 40503 | 400 | POST Data Is Invalid. | The body isn't a JSON array of task objects, or a live/task_post route was called with a method other than POST. | no |
| 40601 | 200 | Task Handed. | A worker has picked the task up and it's running. | no |
| 40602 | 200 | Task In Queue. | The task is still queued. Try task_get again later, or wait for your pingback. | no |
| 50000 | 500 | Internal Error. You weren't billed. | Something failed on our side or upstream and the task returned no data. You weren't billed. | no |
