Troubleshooting
Use inline results directly. Read a markdownRef with nstdata_crawl_read_result using ref and format="markdown". Continue at nextOffset if returned. Check existing task and page status before resubmitting.
If OAuth refresh returns invalid_scope, reconnect and authorize again. Resume with the existing task ID or reference before submitting another crawl. If the error persists, report the client version and exact scope error without sharing tokens.
| Error | Meaning | Action |
|---|---|---|
| AUTHORIZATION_FAILED | HTTP/API 401 or 403 | For browser authorization, check your Nstdata account and Crawl access, then reauthorize if needed. For API key or local stdio connections, check the key and Crawl access. For HTTP 407 (PROXY_AUTHORIZATION_FAILED), check the proxy channel and recopy its full URL, including credentials. |
| RATE_LIMITED | HTTP/API 429 | Stop requests and inspect service limits. |
| UPSTREAM_ERROR | Upstream request/response failure | Inspect statusCode and apiCode separately; redirects are refused. |
| TIMEOUT / CANCELLED | Local waiting stopped | Reuse returned IDs; the remote task may still run. |
| RESPONSE_LIMIT | Download exceeded the byte cap | Request a smaller response or adjust the download limit. |
| INVALID_RESPONSE | Invalid response data, including malformed UTF-8 | Check the source response and requested format. |
| OUTPUT_LIMIT | Serialized output exceeded the character cap | Use smaller pages/chunks or valid IDs/references in error.recovery. |
| SENSITIVE_OUTPUT | Credential match caused output to be withheld | Review the task and credentials; withheld values are not usable results. |