Skip to content

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.

  1. Check agent-data --version for a CLI request.
  2. Check the credential with agent-data auth status.
  3. Read the current API contract if the request targets an operation.

Keep the API identifier, request time, and error for diagnosis.

What you seeWhat 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.

What you seeWhat 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.

This CLI 0.13.0 preview fails because query is absent.

Terminal window
agent-data call youtube-com search-videos --dry-run

It 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.

Terminal window
agent-data call youtube-com search-videos --query "python programming" --dry-run
agent-data call youtube-com search-videos --query "python programming"

The corrected preview resolved the request. The data call returned the captured video.

What you seeWhat 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.

  1. Retain the original error and timestamp.
  2. Read agent-data account.
  3. 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 seeWhat 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.

What you seeWhat 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 fieldFollow the CLI error fix.

Follow the existing build or saved request after an uncertain result.

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.