Status codes

Every response carries a status_code for the request and one for each task. A task that ends in an error is not billed unless the table says so.
Open as Markdown
CodeMeaningBilled
20000Ok.The task returned data. Its cost is what we charged.Yes
20100Task 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
40006You can send up to 100 tasks in one request.One POST carried more than 100 tasks. Nothing ran.No
40100Authentication 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
40101Authentication 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
40102No 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
40202Too many requests. Retry shortly.Too many requests for this key. Wait for the Retry-After seconds and retry.No
40210Insufficient 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
40400Not Found.No route at this path. Check it against /v1/account/support_matrix.No
40401Task Not Found.No task with this id in your organization.No
40402This 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
40501Invalid Field.A field in the task failed validation. status_message names the field. The task didn't run.No
40503POST 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
40601Task Handed.A worker has picked the task up and it's running.No
40602Task In Queue.The task is still queued. Try task_get again later, or wait for your pingback.No
50000Internal Error. You weren't billed.Something failed on our side or upstream and the task returned no data. You weren't billed.No