How to resolve common failures
An agent-data error identifies the failed request in your CLI or client. Start with the error text and exit or HTTP status.
- Check
agent-data --versionfor a CLI request. - Check the credential with
agent-data auth status. - Read the current API contract if the request targets an operation.
Keep the API identifier, request time, and error for diagnosis.
CLI or skill is missing
Section titled “CLI or skill is missing”| What you see | What to do |
|---|---|
| The CLI command is missing. | Install it with npm install -g agent-data@latest. |
| The runtime version is unsupported. | Use Node.js 22.20.0 or later. |
| Your coding agent cannot find its skill. | Repeat setup with its target flag. Restart the agent. |
| Setup reports a partial installation. | Follow the error’s next action. |
Check agent-data --version and agent-data auth status after the correction. For a coding agent, check that it can discover the installed skill.
Authentication fails
Section titled “Authentication fails”| What you see | What to do |
|---|---|
auth status identifies another account. | Check credential precedence. |
| Browser approval stops before completion. | Resume the saved login attempt with the same service and credential directory. |
| The service rejects the login. | Repeat browser approval. |
| An MCP request fails authentication. | Repeat the client’s authentication procedure. Check MCP whoami. |
Repeat the credential check after the correction. CLI whoami reads local configuration, so it cannot establish server authentication.
A call is missing a required input
Section titled “A call is missing a required input”This CLI 0.13.0 preview fails because query is absent.
agent-data call youtube-com search-videos --dry-runIt exits with status 1 and returns this actual error.
{ "error": { "status": 400, "body": null, "source": "cli", "code": "missing_required_param", "message": "Missing required parameter: query (in: query)", "param": "query", "retryable": false }}source: "cli" identifies local validation before a data request. The 400 value is not an upstream HTTP response.
Add --query "python programming" because the operation requires a search query.
agent-data call youtube-com search-videos --query "python programming" --dry-runagent-data call youtube-com search-videos --query "python programming"The corrected preview resolved the request. The data call returned the captured video.
Search pages repeat a result
Section titled “Search pages repeat a result”| What you see | What to do |
|---|---|
| Direct results repeat after a related-page request. | Read the groups’ independent pagination. |
--offset does not advance direct results. | Use --direct-offset for that group. |
| Search reports incomplete results. | Retain the failure and direct results. Retry the affected read. |
An incomplete related search does not establish that no suitable API exists.
Usage or spending limit reached
Section titled “Usage or spending limit reached”- Retain the original error and timestamp.
- Read
agent-data account. - Check allowance, credits, and budget using the spending guide.
If dates or balances disagree, preserve the reported values for support. A later account report does not establish the cause of an earlier failure.
An API is degraded or a source request fails
Section titled “An API is degraded or a source request fails”| What you see | What to do |
|---|---|
| The source rejects an input. | Compare it with the current contract. Correct the reported field. |
| A source error or degraded health appears. | Check the error and catalog health details. Retain any upstream request ID. |
| A preview succeeds but the data request fails. | Investigate the data error because a preview does not call the source. |
After the correction, repeat the data request. Check the returned records to establish recovery. A previous health check cannot establish the result of your request.
A build or extension is blocked
Section titled “A build or extension is blocked”| What you see | What to do |
|---|---|
| A build reports an available action. | Use build recovery. |
| An extension submission times out. | Use the saved-request retry procedure. |
request.prompt: unknown field | Follow the CLI error fix. |
Follow the existing build or saved request after an uncertain result.
Ask for help with useful evidence
Section titled “Ask for help with useful evidence”Contact agent-data support with these details.
- Include the CLI version or client and request method.
- Include the API identifier and route.
- Include the timestamp and time zone.
- Include the exact non-secret inputs.
- Include the exit or HTTP status and structured error.
- Include returned request or build IDs.
Omit Authorization, API keys, OAuth tokens, credential files, and masked key fragments. Review private account fields and local paths before you share the record.