code is the stable field.title and detail are human prose and may be reworded at any time without a version bump — never match on them. type is a stable documentation URI and is also safe.
Fix the inputs. Carries a fields map naming each bad one
401
invalid_api_key
Missing, malformed or revoked key
402
insufficient_credits
Wait for the monthly reset, or upgrade
403
tool_not_allowed
This tool exists but has no API endpoint. Use the website — do not retry
404
tool_not_found
No such slug. Find the right one with GET /v1/tools/search
413
payload_too_large
Send less. Some tools cap body size
429
rate_limited
Back off for retry_after seconds
422
unprocessable_input
Well-formed request, but there’s no result — e.g. this video has no captions. Retrying identical input won’t help
500
processing_error
The tool failed on your input. Retrying identical input won’t help
500
internal_error
Our fault. Retry, then tell us the request_id
503
tool_disabled
Temporarily switched off by us. Retry shortly
503
api_unconfigured
Our fault. Retry
tool_not_found and tool_disabled look similar and mean opposite things: one says delete this from your integration, the other says try again in a minute. That distinction is why they are separate codes.
Every response carries one, in three places: the body, the x-request-id header, and our server logs. Quoting it turns “it failed once around 14:20” into a query.You can supply your own by sending an x-request-id header, and we will echo it — handy for correlating with your own tracing.
Credits are reserved on entry and refunded on every 4xx and 5xx. This includes the one-credit floor, so a broken integration in a retry loop cannot drain your allowance.
MCP has no HTTP status to carry, so tool failures come back as an MCP error result with the same code vocabulary in the text:
insufficient_credits: 0 remaining
Parse the prefix up to the first colon.MCP adds two codes of its own, both about the spending confirmation: declined_by_user (you declined the prompt — nothing ran, nothing was charged) and confirmation_required (the client can’t show a prompt and the call cost more than 50 credits, so it was refused).
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"IOTools.cloud","description":"Documentation for IOTools.cloud — call 900+ developer tools over one REST endpoint or from any MCP client, with one API key and one credit balance.","colors":{"primary":"#464aff","light":"#7376ff","dark":"#464aff"},"logo":{"light":"https://mintcdn.com/iotools/2jma-eQqoJSeCWag/images/logo.svg?fit=max\u0026auto=format\u0026n=2jma-eQqoJSeCWag\u0026q=85\u0026s=370b58e8746a0ae199ccff2d543db695","dark":"https://mintcdn.com/iotools/2jma-eQqoJSeCWag/images/logo.svg?fit=max\u0026auto=format\u0026n=2jma-eQqoJSeCWag\u0026q=85\u0026s=370b58e8746a0ae199ccff2d543db695","href":"https://iotools.cloud"},"favicon":"https://mintcdn.com/iotools/2jma-eQqoJSeCWag/images/favicon.svg?fit=max\u0026auto=format\u0026n=2jma-eQqoJSeCWag\u0026q=85\u0026s=9696f90dc0e46f37e69f70429db2b6a7","api":{"openapi":"https://api.iotools.cloud/v1/openapi","playground":{"display":"interactive"}},"background":{"color":{"light":"#faf6f0","dark":"#17140f"}},"navbar":{"links":[{"href":"https://iotools.cloud/contact/","label":"Support"}],"primary":{"type":"button","label":"Get an API key","href":"https://iotools.cloud/account/#api-keys"}},"footer":{"socials":{"x-twitter":"https://x.com/io_tools","facebook":"https://www.facebook.com/iotools.cloud","youtube":"https://www.youtube.com/@io-tools","linkedin":"https://www.linkedin.com/company/io-tools"}},"seo":{"metatags":{"og:type":"website","og:site_name":"IOTools.cloud Docs","twitter:card":"summary_large_image","twitter:site":"@io_tools"},"organization":{"id":"https://iotools.cloud/#organization","name":"iotools.cloud","url":"https://iotools.cloud","logo":"https://iotools.cloud/logo.svg","sameAs":["https://x.com/io_tools","https://www.facebook.com/iotools.cloud","https://www.youtube.com/@io-tools","https://www.linkedin.com/company/io-tools/"]},"indexing":"navigable","trailingSlash":true},"fonts":{"heading":{"family":"Instrument Serif"},"body":{"family":"Plus Jakarta Sans","weight":400}},"icons":{"library":"lucide"},"styling":{"codeblocks":"system","latex":false},"integrations":{"ga4":{"measurementId":"G-GN201XEE6W"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"variables":{"tools_count":"1400+","api_base_url":"https://api.iotools.cloud/v1","account_url":"https://iotools.cloud/account/","pricing_url":"https://iotools.cloud/pricing/","free_credits_limit":"1,000","free_rate_limit":"60","free_min_credits":"5","builder_credits_limit":"50,000","builder_rate_limit":"300","builder_min_credits":"1","ai_image_credit_cost":"640","ai_text_credit_range":"12–24","server_tool_credit_range":"1–2","usage_history_days":"30","mcp_default_tool_count":"5","mcp_full_listing_tokens":"215k","n8n_operation_count":"six","n8n_retry_max":"3","zapier_operation_count":"four","make_operation_count":"six"},"navigation":{"global":{"anchors":[{"anchor":"Tools","icon":"wrench","href":"https://iotools.cloud/tools/"},{"anchor":"Pricing","icon":"credit-card","href":"https://iotools.cloud/pricing/"},{"anchor":"Changelog","icon":"history","href":"https://iotools.cloud/changelog/"},{"anchor":"OpenAPI spec","icon":"code","href":"https://api.iotools.cloud/v1/openapi"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"iotools","hasAudioNarration":false,"actualSubdomain":"iotools","customDomains":["docs.iotools.cloud"],"gitSource":{"type":"github","owner":"quangthien27","repo":"iotools","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aec582099b37059de189cda","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":1450},{"language":"default","tag":"Tools","count":1444},{"language":"default","tag":"Calculators","count":482},{"language":"default","tag":"Generators","count":443},{"language":"default","tag":"Converters","count":260},{"language":"default","tag":"Utilities","count":163},{"language":"default","tag":"Formatters","count":89},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"Features","count":10},{"language":"default","tag":"Editors","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--gray-100: 225 225 225}button{--font-weight-body-custom: 600}h1,h2,h3{letter-spacing:normal;font-weight:500}h2{font-size:1.5rem}#content-area,#content-area .prose,#content-area p,#content-area li,#content-area td,#content-area th{font-size:14px;line-height:1.7}#content-area .prose :where(p,li,td,th){font-size:14px}.prose :where(h1,h2,h3):not(:where([class~=not-prose],[class~=not-prose] *)){letter-spacing:normal}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.5rem}.tryit-button{background-color:rgb(var(--primary))!important}.tryit-button:hover{opacity:0.85}.nav-logo{border-radius:5px}#topbar-cta-button a span{font-weight:600!important}#navbar-transition{border-color:rgb(var(--gray-100))!important}#sidebar-content h2,#sidebar-content h3{font-weight:600}#table-of-contents h2{margin-bottom:1rem}"}],"page":{"pagePath":"concepts/errors","slug":"/concepts/errors","pageMetadata":{"title":"Errors","description":"RFC 9457 problem documents, and the codes to branch on","href":"/concepts/errors"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"RFC 9457 problem documents, and the codes to branch on\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Every failure is an `,_jsx(_components.a,{href:`https://www.rfc-editor.org/rfc/rfc9457`,children:`RFC 9457`}),` problem document, served as `,_jsx(_components.code,{children:`application/problem+json`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://docs.iotools.cloud/errors/insufficient_credits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Insufficient credits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`402`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"insufficient_credits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"detail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This call costs 1 credit and 0 remain in this month's allowance.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"e4042b29-…\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Heading,{level:`2`,id:`branch-on-code`,children:[`Branch on `,_jsx(_components.code,{children:`code`})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`code`}),` is the stable field.`]}),` `,_jsx(_components.code,{children:`title`}),` and `,_jsx(_components.code,{children:`detail`}),` are human prose and may be reworded at any time without a version bump — never match on them. `,_jsx(_components.code,{children:`type`}),` is a stable documentation URI and is also safe.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`every-code`,children:`Every code`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_error`})}),_jsxs(_components.td,{children:[`Fix the inputs. Carries a `,_jsx(_components.code,{children:`fields`}),` map naming each bad one`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_api_key`})}),_jsx(_components.td,{children:`Missing, malformed or revoked key`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`402`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_credits`})}),_jsx(_components.td,{children:`Wait for the monthly reset, or upgrade`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`tool_not_allowed`})}),_jsx(_components.td,{children:`This tool exists but has no API endpoint. Use the website — do not retry`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`tool_not_found`})}),_jsxs(_components.td,{children:[`No such slug. Find the right one with `,_jsx(_components.code,{children:`GET /v1/tools/search`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`413`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`payload_too_large`})}),_jsx(_components.td,{children:`Send less. Some tools cap body size`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`429`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rate_limited`})}),_jsxs(_components.td,{children:[`Back off for `,_jsx(_components.code,{children:`retry_after`}),` seconds`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`422`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`unprocessable_input`})}),_jsx(_components.td,{children:`Well-formed request, but there’s no result — e.g. this video has no captions. Retrying identical input won’t help`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`processing_error`})}),_jsx(_components.td,{children:`The tool failed on your input. Retrying identical input won’t help`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`internal_error`})}),_jsxs(_components.td,{children:[`Our fault. Retry, then tell us the `,_jsx(_components.code,{children:`request_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`tool_disabled`})}),_jsxs(_components.td,{children:[`Temporarily switched off by us. `,_jsx(_components.strong,{children:`Retry shortly`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`api_unconfigured`})}),_jsx(_components.td,{children:`Our fault. Retry`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`tool_not_found`}),` and `,_jsx(_components.code,{children:`tool_disabled`}),` look similar and mean opposite things: one says `,_jsx(_components.em,{children:`delete this from your integration`}),`, the other says `,_jsx(_components.em,{children:`try again in a minute`}),`. That distinction is why they are separate codes.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`validation-errors-name-the-field`,children:`Validation errors name the field`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"validation_error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"base64String\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"e4042b29-…\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Surface `,_jsx(_components.code,{children:`fields`}),` to whoever supplied the input — it maps one-to-one onto the tool’s documented inputs.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request_id`,children:_jsx(_components.code,{children:`request_id`})}),`\n`,_jsxs(_components.p,{children:[`Every response carries one, in three places: the body, the `,_jsx(_components.code,{children:`x-request-id`}),` header, and our server logs. Quoting it turns “it failed once around 14:20” into a query.`]}),`\n`,_jsxs(_components.p,{children:[`You can supply your own by sending an `,_jsx(_components.code,{children:`x-request-id`}),` header, and we will echo it — handy for correlating with your own tracing.`]}),`\n`,_jsx(Heading,{level:`2`,id:`nothing-costs-credits-when-it-fails`,children:`Nothing costs credits when it fails`}),`\n`,_jsxs(_components.p,{children:[`Credits are reserved on entry and refunded on `,_jsx(_components.strong,{children:`every`}),` 4xx and 5xx. This includes the one-credit floor, so a broken integration in a retry loop cannot drain your allowance.`]}),`\n`,_jsx(Heading,{level:`2`,id:`mcp`,children:`MCP`}),`\n`,_jsxs(_components.p,{children:[`MCP has no HTTP status to carry, so tool failures come back as an MCP error result with the `,_jsx(_components.strong,{children:`same code vocabulary`}),` in the text:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`insufficient_credits: 0 remaining`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Parse the prefix up to the first colon.`}),`\n`,_jsxs(_components.p,{children:[`MCP adds two codes of its own, both about the `,_jsx(_components.a,{href:`/mcp/overview#your-agent-cant-spend-credits-without-asking`,children:`spending confirmation`}),`: `,_jsx(_components.code,{children:`declined_by_user`}),` (you declined the prompt — nothing ran, nothing was charged) and `,_jsx(_components.code,{children:`confirmation_required`}),` (the client can’t show a prompt and the call cost more than 50 credits, so it was refused).`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Errors","description":"RFC 9457 problem documents, and the codes to branch on","href":"/concepts/errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Branch on code","slug":"branch-on-code","depth":2,"children":[]},{"title":"Every code","slug":"every-code","depth":2,"children":[]},{"title":"Validation errors name the field","slug":"validation-errors-name-the-field","depth":2,"children":[]},{"title":"request_id","slug":"request_id","depth":2,"children":[]},{"title":"Nothing costs credits when it fails","slug":"nothing-costs-credits-when-it-fails","depth":2,"children":[]},{"title":"MCP","slug":"mcp","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"iotools","siteName":"IOTools.cloud","title":"Errors - IOTools.cloud","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-15T05:59:10.851Z","originalFileLocation":"concepts/errors.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"RFC 9457 problem documents, and the codes to branch on\">\u003cmeta data-mint-head name=\"application-name\" content=\"IOTools.cloud\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Errors - IOTools.cloud\">\u003cmeta data-mint-head property=\"og:description\" content=\"RFC 9457 problem documents, and the codes to branch on\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"IOTools.cloud Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.iotools.cloud/concepts/errors/\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://iotools.mintlify.site/_mintlify/api/og/v2?division=Concepts\u0026amp;title=Errors\u0026amp;description=RFC+9457+problem+documents%2C+and+the+codes+to+branch+on\u0026amp;theme=000a602762f56830e25b8550\u0026amp;signature=2d081bec34d7f5f18462b0a69a5f8a1305a43e28000ec460969bbb75d8256e99\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Errors - IOTools.cloud\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"RFC 9457 problem documents, and the codes to branch on\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://iotools.mintlify.site/_mintlify/api/og/v2?division=Concepts\u0026amp;title=Errors\u0026amp;description=RFC+9457+problem+documents%2C+and+the+codes+to+branch+on\u0026amp;theme=000a602762f56830e25b8550\u0026amp;signature=2d081bec34d7f5f18462b0a69a5f8a1305a43e28000ec460969bbb75d8256e99\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/iotools/G58CVLFct1_TzMms/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"IOTools.cloud\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#464aff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.iotools.cloud/concepts/errors/\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/concepts/errors.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://iotools.cloud/#organization\",\"name\":\"iotools.cloud\",\"url\":\"https://iotools.cloud\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://iotools.cloud/logo.svg\"},\"sameAs\":[\"https://x.com/io_tools\",\"https://www.facebook.com/iotools.cloud\",\"https://www.youtube.com/@io-tools\",\"https://www.linkedin.com/company/io-tools/\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.iotools.cloud#website\",\"name\":\"IOTools.cloud\",\"url\":\"https://docs.iotools.cloud\",\"publisher\":{\"@id\":\"https://iotools.cloud/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.iotools.cloud/concepts/errors/#webpage\",\"url\":\"https://docs.iotools.cloud/concepts/errors/\",\"name\":\"Errors\",\"description\":\"RFC 9457 problem documents, and the codes to branch on\",\"dateModified\":\"2026-09-15T05:59:10.851Z\",\"isPartOf\":{\"@id\":\"https://docs.iotools.cloud#website\"},\"breadcrumb\":{\"@id\":\"https://docs.iotools.cloud/concepts/errors/#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.iotools.cloud/concepts/errors/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Concepts\",\"item\":\"https://docs.iotools.cloud/concepts/credits\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Errors\",\"item\":\"https://docs.iotools.cloud/concepts/errors/\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.iotools.cloud/concepts/errors/#article\",\"headline\":\"Errors\",\"name\":\"Errors\",\"description\":\"RFC 9457 problem documents, and the codes to branch on\",\"url\":\"https://docs.iotools.cloud/concepts/errors/\",\"mainEntityOfPage\":{\"@id\":\"https://docs.iotools.cloud/concepts/errors/#webpage\"},\"dateModified\":\"2026-09-15T05:59:10.851Z\",\"publisher\":{\"@id\":\"https://iotools.cloud/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.iotools.cloud#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"IOTools.cloud\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"IOTools.cloud","nav":{"global":{"anchors":[{"anchor":"Tools","icon":"wrench","href":"https://iotools.cloud/tools/"},{"anchor":"Pricing","icon":"credit-card","href":"https://iotools.cloud/pricing/"},{"anchor":"Changelog","icon":"history","href":"https://iotools.cloud/changelog/"},{"anchor":"OpenAPI spec","icon":"code","href":"https://api.iotools.cloud/v1/openapi"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":""}]},{"group":"API","pages":[{"title":"API overview","href":"/api/overview"},{"title":"Get started","href":"/api/get-started"},{"title":"Authentication","href":"/api/authentication"}]},{"group":"MCP","pages":[{"title":"MCP overview","href":"/mcp/overview"},{"title":"Install","href":"/mcp/install"},{"title":"Tools over MCP","href":"/mcp/tools"}]},{"group":"Integrations","pages":[{"title":"n8n integration","href":"/integrations/n8n"},{"title":"Zapier integration","href":"/integrations/zapier"},{"title":"Make integration","href":"/integrations/make"}]},{"group":"Concepts","pages":[{"title":"Credits","href":"/concepts/credits"},{"title":"Rate limits","description":"Requests per minute, and how it differs from credits","href":"/concepts/rate-limits"},{"title":"Errors","href":"/concepts/errors"}]},{"group":"Examples","pages":[{"title":"Chaining tools","description":"Feeding one tool's output into the next","href":"/examples/chaining"},{"title":"Code samples","href":"/examples/code-samples"}]}]},{"tab":"Features","pages":[{"title":"Features","href":"/features"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference"}]}]},"basePath":"","title":"Errors - IOTools.cloud","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":[],"chunks":[]}