Answer: The Cline API returns errors in the OpenAI error format, with an error object containing code, message, and metadata fields. Status: Confirmed Entry: tool/cline/troubleshooting/api-error-format Revision: 1 Digest: sha256:85dc53b5140f5849 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:06:13Z Last changed: 2026-11-13T03:06:13Z Last verified: 2026-11-20T12:26:33Z Next check: 2026-11-21T12:26:33Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of error format | OpenAI error format | [1] | 2026-11-20 code field type | number/string | [1] | 2026-11-20 message field type | string | [1] | 2026-11-20 metadata field type | object | [1] | 2026-11-20 Sources: [1] Cline. "Errors". https://docs.cline.bot/api/errors.md Role: primary. Accessed: 2026-11-20T12:26:33Z Quote: "All errors follow the OpenAI error format:" (Supports: error format) Quote: "| `code` | number/string | HTTP status code or error identifier |" (Supports: code field type) Quote: "| `message` | string | Human-readable description of the error |" (Supports: message field type) Quote: "| `metadata` | object | Additional context (provider details, request IDs) |" (Supports: metadata field type) Published: 2026-11-20T06:01:38Z Snapshot SHA-256: 4d4f60088ce3ab7f7875c6a52c2dff0aa74326b41597c22c69a4777ab3fdb83d (captured 2026-11-13T03:06:13Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:06:13Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:26:33Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:26:33Z Last attempt: 2026-11-20T12:26:33Z Notes and limitations: Extracted automatically from a single official source (section "Error Format"). Related: https://latestn.com/tool/cline/troubleshooting/bedrock-troubleshooting How do I troubleshoot AWS Bedrock connection issues in Cline? https://latestn.com/tool/cline/troubleshooting/events-not-appearing How do I troubleshoot OpenTelemetry events not appearing in Cline? https://latestn.com/tool/cline/troubleshooting/http-error-codes What do Cline API HTTP error codes like 401, 402, and 403 mean and how do I fix them? https://latestn.com/tool/cline/settings/toggle-skills How do I enable or disable a skill in Cline? https://latestn.com/tool/cline/settings/what-to-exclude-clineignore What files should I exclude with .clineignore in Cline? https://latestn.com/tool/cline/troubleshooting/anthropic-connection-troubleshooting How do I troubleshoot problems connecting Cline to my organization's Anthropic provider? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:06:13Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/cline/troubleshooting/api-error-format/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/cline/troubleshooting/api-error-format POST: https://latestn.com/dispute/tool/cline/troubleshooting/api-error-format with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/cline/troubleshooting/api-error-format?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What error format does the Cline API return for errors? Revision 1, last verified 2026-11-20T12:26:33Z. https://latestn.com/tool/cline/troubleshooting/api-error-format (accessed 2026-11-21T09:53:55Z). @misc{LatestN_tool_cline_troubleshooting_api_error_format_r1, title = {What error format does the Cline API return for errors?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/cline/troubleshooting/api-error-format}}, note = {Revision 1; digest sha256:85dc53b5140f5849; last verified 2026-11-20T12:26:33Z; accessed 2026-11-21T09:53:55Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/cline/troubleshooting/api-error-format