Data source errors
Why a data source call was rejected and how to fix it. Argument validation details, unknown endpoints and sources, upstream failures, cost caps, and why an empty result is not an error.
Curated data sources are the data_<source>_* tools and the /v1/data/<source>/* REST routes. superagnt pays the upstream provider and charges your data credits per successful call. Arguments are checked against the source's schema before anything is sent upstream, and a call that fails for any reason costs nothing.
01
Rejected arguments: VALIDATION_ERROR
A call with a missing, malformed or wrongly typed argument is refused with VALIDATION_ERROR (HTTP 400) and one entry per bad field in details. Over REST the details are in error.details; over MCP they are in structuredContent.details.
{
"code": "VALIDATION_ERROR",
"message": "2 validation errors in request",
"details": [
{ "field": "username", "location": "query", "message": "Required", "expected": "string" },
{ "field": "count", "location": "query", "message": "Expected number, received string", "expected": "number" }
]
}fieldis the argument name, andlocationsays where it goes:query,pathorbody.messagesays what is wrong, andexpected, when present, says what would be accepted.- Fix every listed field before calling again. Sending the same arguments gets the same answer.
The exact parameters, types and allowed values for every endpoint are in the API reference.
Grouped data tools
On the grouped surface a data tool takes an action plus that operation's arguments. If a required argument is missing you get MISSING_REQUIRED, which lists the missing arguments and includes the operation's input_schema. Arguments the operation does not declare are not passed to it, so check the spelling of optional arguments against input_schema when a filter seems to have no effect.
People and company lookups
The people and company tools (data_agnt_*, /v1/data/agnt/*) try more than one upstream provider. When every provider rejects the filters themselves, the answer is a 400 VALIDATION_ERROR whose message starts The data provider rejected these filters: and names the reason. Change the filter names or values to match the tool schema.
02
Wrong endpoint or source
| Code | Status | What it means | What to do |
|---|---|---|---|
ENDPOINT_NOT_FOUND | 404 | The source exists, but not that method and path on it. | Check the endpoint against the API reference for that source. |
PROVIDER_NOT_FOUND | 404 | No source has that slug. The message lists the ones that do. | Use a slug from GET https://api.superagnt.com/v1/platforms. |
PROVIDER_NOT_FOUND | 503 | The source exists but is not serving right now. | Retry later. |
PROVIDER_UNAVAILABLE | 503 | The source is not set up correctly on our side. | Retry later. If it persists, open a ticket. |
03
The upstream provider failed
Upstream answers are classified rather than passed through raw:
| What happened upstream | What you get | What to do |
|---|---|---|
| It found nothing for a valid query (no posts, no such user, no email) | A success, HTTP 200, with meta.empty: true and a meta.notice | Nothing failed. Widen or change the query; retrying the same one returns the same answer. |
| It refused your input (a value it does not accept, an identifier in the wrong form) | VALIDATION_ERROR, HTTP 400, naming the field | Fix the value the message names. Do not retry unchanged. |
| It throttled the request | RATE_LIMITED, HTTP 429, with retryAfter | Wait retryAfter seconds and retry. We have already waited and retried once ourselves. |
| It failed: a 5xx, a timeout, no answer, or a failure reported inside a 200 | PROVIDER_ERROR, HTTP 503 | Retry with backoff. We retry the failures a retry usually fixes before you see this. |
| Our account with it is out of quota | UPSTREAM_CREDITS_EXHAUSTED, HTTP 503 | Retry later. See Credits and 402s. |
None of these are billed, and neither is an empty result.
Some input is fixed before the call instead of refused: a LinkedIn post URN passed as urn:li:activity:<id> is sent as the bare id, Reddit sort / time and X search section values are lowercased, and an X hashtag search without a leading # gets one. A LinkedIn company page URL sent to the profile lookup is refused with the company lookup to use instead.
If your connection closes before the source answers, the call is stopped and not charged. It shows in your usage as a failed call.
04
Cost caps
Range and bulk endpoints take a cap, max_cost_cents or max_cost_cents_per_record. A cap below the endpoint's minimum is refused with VALIDATION_ERROR naming the minimum. On a builder plan, when the call's reserved budget is more than the included data credits left, the refusal is an upgrade offer with reason included_credits_insufficient; lowering the cap so it fits what is left lets the call run. See Plan limits and upgrade offers.
05
An empty result is not an error
A valid query that matches nothing succeeds, costs nothing, and carries meta.empty: true. Searches return an empty page of results, the email finder returns email: null, and the enrich and find-mobile lookups return the identifiers you sent with every other field null. It is a successful call, and retrying will not change it. Widen or change the query instead.
06
When to open a ticket
Open a ticket with agnt_support_ticket_create when a call that matches the API reference is still rejected, when one source keeps returning 503 well after retries, or when results are clearly wrong rather than empty. Include the tool name or path, the arguments with anything personal redacted, the error code and message, and the time. See Getting help.