Unix timestamp (in milliseconds) of when the error occurred
string
Unique identifier for tracking the request—include this when contacting support
http status codes
The following table lists common status codes and their meanings:
Status code
Description
How to resolve
2XX
Success
Request completed successfully
400 Bad Request
Missing or invalid required fields
Check request body against API documentation
401 Unauthorized
Invalid API key or secret
Verify your API credentials
403 Forbidden
Access denied
Check token validity, permissions, credits, or quota
404 Not Found
Invalid endpoint url
Verify the API endpoint path
422 Unprocessable Entity
Invalid field values or format
Validate field values against schema
429 Too Many Requests
Rate limit exceeded
Reduce request frequency or wait before retrying
500 Internal Server Error
Server-side issue
Retry the request; contact support if persistent
503 Service Unavailable
Source system unavailable
Retry later
504 Gateway Timeout
Request timed out
Retry the request
Common 403 error reasons
A 403 Forbidden response can occur for several reasons:
Invalid access token
Expired access token
Insufficient permissions for the requested resource
Insufficient wallet credits
Usage quota exhausted
Access revoked
Include the transaction_id from the error response when contacting support for faster resolution.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Sandbox","description":"End-to-end tax automation platform for businesses to verify tax ids, calculate \u0026 pay taxes, generate e-invoices, process tax documents, analyse \u0026 reconcile tax ledgers, prepare and file tax returns through SDKs \u0026 APIs.","colors":{"primary":"#151455","light":"#CFCEFF","dark":"#1B1B20"},"logo":{"light":"https://mintcdn.com/in-co-sandbox/83aihwHbv0_fbS-u/static/logo/light.svg?fit=max\u0026auto=format\u0026n=83aihwHbv0_fbS-u\u0026q=85\u0026s=83271c8bdbc5e5c9585f979d9a278d59","dark":"https://mintcdn.com/in-co-sandbox/83aihwHbv0_fbS-u/static/logo/dark.svg?fit=max\u0026auto=format\u0026n=83aihwHbv0_fbS-u\u0026q=85\u0026s=179fdab40936062e350c9197e38ddf85","href":"https://developer.sandbox.co.in/"},"favicon":{"light":"https://mintcdn.com/in-co-sandbox/83aihwHbv0_fbS-u/static/favicon/light.svg?fit=max\u0026auto=format\u0026n=83aihwHbv0_fbS-u\u0026q=85\u0026s=11228c94a2f4982dc5e2b54c24501858","dark":"https://mintcdn.com/in-co-sandbox/83aihwHbv0_fbS-u/static/favicon/dark.svg?fit=max\u0026auto=format\u0026n=83aihwHbv0_fbS-u\u0026q=85\u0026s=3b7eaa27875373c8d3882169bf79874e"},"api":{"examples":{"prefill":true}},"background":{"decoration":"gradient"},"navbar":{"links":[{"icon":"life-ring","href":"https://help.sandbox.co.in/","label":"Help Centre"},{"icon":"phone","href":"https://sandbox.co.in/contact-sales","label":"Contact Sales"}],"primary":{"type":"button","label":"Sign Up","href":"https://accounts.sandbox.co.in/signup"}},"footer":{"socials":{"github":"https://github.com/in-co-sandbox","linkedin":"https://www.linkedin.com/showcase/sandboxapi","medium":"https://medium.com/blog-by-sandbox","youtube":"https://www.youtube.com/@sandboxapi","x":"https://twitter.com/sandbox_api"}},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"gtm":{"tagId":"GTM-NWRF32W"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"in-co-sandbox","hasAudioNarration":false,"actualSubdomain":"in-co-sandbox","customDomains":["developer.sandbox.co.in"],"gitSource":{"type":"github","owner":"company-quicko","repo":"in-co-sandbox","deployBranch":"main","contentDirectory":"in-co-sandbox-docs","isPrivate":true,"mountPath":"","label":"","_id":"6adf43f8a6cc13f54cfb5698"},"entitlements":{},"buildId":"6aec2063afba45a8ed32643b","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"API Reference","count":359},{"language":"default","tag":"GST","count":201},{"language":"default","tag":"Compliance","count":201},{"language":"default","tag":"Taxpayer","count":117},{"language":"default","tag":"TDS","count":89},{"language":"default","tag":"Income Tax","count":57},{"language":"default","tag":"KYC","count":54},{"language":"default","tag":"Calculator","count":44},{"language":"default","tag":"Tax P\u0026L","count":41},{"language":"default","tag":"E-Way Bill","count":40}]},"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":"custom-rbac-roles","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-tabs{display:flex;align-items:center;justify-content:flex-start;width:100%}.nav-tabs>.nav-tabs-item:not(:has(~.nav-tabs-item)){margin-left:auto!important}img.icon,a img.icon,img[class*=\"icon\"],a img[class*=\"icon\"],img[class*=\"bg-\"],a img[class*=\"bg-\"],.card img.icon,.card a img.icon,.nav-dropdown-item-icon img,.nav-dropdown-item-icon a img{background:transparent!important;background-color:transparent!important;box-shadow:none!important}.dark img.icon,.dark a img.icon,body:has(#landing_page_background_div) #header,body:has(#landing_page_background_div) header#header{display:none!important}.dark img[class*=\"bg-\"],.dark a img[class*=\"bg-\"]{background:transparent!important;background-color:transparent!important;box-shadow:none!important}img.icon,a img.icon{padding:0!important;border-radius:0!important}div:has(>div>div>div>#landing_page_background_div){width:100%;height:100%;background:url('/static/svg/landing/bg-pattern-light.svg');background-size:contain;background-repeat:no-repeat}.dark div:has(>div>div>div>#landing_page_background_div){background:url('/static/svg/landing/bg-pattern.svg');background-size:contain;background-repeat:no-repeat}"}],"page":{"pagePath":"guides/developer-resources/errors","slug":"/guides/developer-resources/errors","pageMetadata":{"title":"Errors","description":"Understand error responses, http status codes, and how to handle errors in Sandbox APIs.","keywords":["errors","error codes","http status","troubleshooting","error handling"],"href":"/guides/developer-resources/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: \"Understand error responses, http status codes, and how to handle errors in Sandbox APIs.\"\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={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`When a request fails, Sandbox APIs return an error response with details about what went wrong.`}),`\n`,_jsx(Heading,{level:`2`,id:`error-response-format`,children:`Error response format`}),`\n`,_jsx(_components.p,{children:`All error responses follow this structure:`}),`\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:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`401`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unauthorized\"`}),_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:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1687602744185`}),_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:` \"transaction_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2230d738-2ef4-4821-a510-cb7fa51d19d8\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(ParamField,{path:`code`,type:`number`,id:`param-code`,children:_jsx(_components.p,{children:`http status code indicating the error type`})}),`\n`,_jsx(ParamField,{path:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Human-readable description of the error`})}),`\n`,_jsx(ParamField,{path:`timestamp`,type:`number`,id:`param-timestamp`,children:_jsx(_components.p,{children:`Unix timestamp (in milliseconds) of when the error occurred`})}),`\n`,_jsx(ParamField,{path:`transaction_id`,type:`string`,id:`param-transaction-id`,children:_jsx(_components.p,{children:`Unique identifier for tracking the request—include this when contacting support`})}),`\n`,_jsx(Heading,{level:`2`,id:`http-status-codes`,children:`http status codes`}),`\n`,_jsx(_components.p,{children:`The following table lists common status codes and their meanings:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Status code`})}),_jsx(_components.th,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Description`})}),_jsx(_components.th,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`How to resolve`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`2XX`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Success`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Request completed successfully`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`400 Bad Request`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Missing or invalid required fields`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Check request body against API documentation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`401 Unauthorized`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Invalid API key or secret`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Verify your API credentials`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`403 Forbidden`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Access denied`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Check token validity, permissions, credits, or quota`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`404 Not Found`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Invalid endpoint url`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Verify the API endpoint path`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`422 Unprocessable Entity`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Invalid field values or format`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Validate field values against schema`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`429 Too Many Requests`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Rate limit exceeded`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Reduce request frequency or wait before retrying`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`500 Internal Server Error`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Server-side issue`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Retry the request; contact support if persistent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`503 Service Unavailable`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Source system unavailable`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Retry later`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`504 Gateway Timeout`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Request timed out`}),_jsx(_components.td,{style:{textAlign:`left`},children:`Retry the request`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`common-403-error-reasons`,children:`Common 403 error reasons`}),`\n`,_jsx(_components.p,{children:`A 403 Forbidden response can occur for several reasons:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Invalid access token`}),`\n`,_jsx(_components.li,{children:`Expired access token`}),`\n`,_jsx(_components.li,{children:`Insufficient permissions for the requested resource`}),`\n`,_jsx(_components.li,{children:`Insufficient wallet credits`}),`\n`,_jsx(_components.li,{children:`Usage quota exhausted`}),`\n`,_jsx(_components.li,{children:`Access revoked`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Include the `,_jsx(_components.code,{children:`transaction_id`}),` from the error response when contacting support for faster resolution.`]})})]})}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":{"config":{},"pageMetadata":{"title":"Errors","description":"Understand error responses, http status codes, and how to handle errors in Sandbox APIs.","keywords":["errors","error codes","http status","troubleshooting","error handling"],"href":"/guides/developer-resources/errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Error response format","slug":"error-response-format","depth":2,"children":[]},{"title":"http status codes","slug":"http-status-codes","depth":2,"children":[]},{"title":"Common 403 error reasons","slug":"common-403-error-reasons","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"in-co-sandbox","siteName":"Sandbox","title":"Errors - Sandbox","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T12:14:55.394Z","originalFileLocation":"guides/developer-resources/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=\"Understand error responses, http status codes, and how to handle errors in Sandbox APIs.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sandbox\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/in-co-sandbox/1vAiCQMOtoIXdhlB/_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/in-co-sandbox/1vAiCQMOtoIXdhlB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/in-co-sandbox/1vAiCQMOtoIXdhlB/_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/in-co-sandbox/1vAiCQMOtoIXdhlB/_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/in-co-sandbox/1vAiCQMOtoIXdhlB/_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/in-co-sandbox/1vAiCQMOtoIXdhlB/_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/in-co-sandbox/1vAiCQMOtoIXdhlB/_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/in-co-sandbox/1vAiCQMOtoIXdhlB/_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/in-co-sandbox/1vAiCQMOtoIXdhlB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Errors - Sandbox\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand error responses, http status codes, and how to handle errors in Sandbox APIs.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sandbox\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.sandbox.co.in/guides/developer-resources/errors\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://in-co-sandbox.mintlify.site/_mintlify/api/og/v2?division=Developer+Resources\u0026amp;title=Errors\u0026amp;description=Understand+error+responses%2C+http+status+codes%2C+and+how+to+handle+errors+in+Sandbox+APIs.\u0026amp;theme=df0fa091765a33c812179186\u0026amp;signature=16e6663260bc93e4bde079137ab4b1a4c0b7bd28265d4ea36432d47eb8032e6b\">\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 - Sandbox\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand error responses, http status codes, and how to handle errors in Sandbox APIs.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://in-co-sandbox.mintlify.site/_mintlify/api/og/v2?division=Developer+Resources\u0026amp;title=Errors\u0026amp;description=Understand+error+responses%2C+http+status+codes%2C+and+how+to+handle+errors+in+Sandbox+APIs.\u0026amp;theme=df0fa091765a33c812179186\u0026amp;signature=16e6663260bc93e4bde079137ab4b1a4c0b7bd28265d4ea36432d47eb8032e6b\">\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/in-co-sandbox/1vAiCQMOtoIXdhlB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sandbox\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#151455\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.sandbox.co.in/guides/developer-resources/errors\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/developer-resources/errors.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.sandbox.co.in/#organization\",\"name\":\"Sandbox\",\"url\":\"https://developer.sandbox.co.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/in-co-sandbox/83aihwHbv0_fbS-u/static/logo/light.svg?fit=max\u0026auto=format\u0026n=83aihwHbv0_fbS-u\u0026q=85\u0026s=83271c8bdbc5e5c9585f979d9a278d59\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.sandbox.co.in#website\",\"name\":\"Sandbox\",\"url\":\"https://developer.sandbox.co.in\",\"publisher\":{\"@id\":\"https://developer.sandbox.co.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.sandbox.co.in/guides/developer-resources/errors#webpage\",\"url\":\"https://developer.sandbox.co.in/guides/developer-resources/errors\",\"name\":\"Errors\",\"description\":\"Understand error responses, http status codes, and how to handle errors in Sandbox APIs.\",\"dateModified\":\"2026-10-26T12:14:55.394Z\",\"isPartOf\":{\"@id\":\"https://developer.sandbox.co.in#website\"},\"breadcrumb\":{\"@id\":\"https://developer.sandbox.co.in/guides/developer-resources/errors#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.sandbox.co.in/guides/developer-resources/errors#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Developer Resources\",\"item\":\"https://developer.sandbox.co.in/guides/developer-resources/environments\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Errors\",\"item\":\"https://developer.sandbox.co.in/guides/developer-resources/errors\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developer.sandbox.co.in/guides/developer-resources/errors#article\",\"headline\":\"Errors\",\"name\":\"Errors\",\"description\":\"Understand error responses, http status codes, and how to handle errors in Sandbox APIs.\",\"url\":\"https://developer.sandbox.co.in/guides/developer-resources/errors\",\"mainEntityOfPage\":{\"@id\":\"https://developer.sandbox.co.in/guides/developer-resources/errors#webpage\"},\"dateModified\":\"2026-10-26T12:14:55.394Z\",\"keywords\":\"errors, error codes, http status, troubleshooting, error handling\",\"publisher\":{\"@id\":\"https://developer.sandbox.co.in/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.sandbox.co.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sandbox\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sandbox\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/developer-resources/errors.md","siteName":"Sandbox","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","groups":[{"group":"Get Started","icon":"rocket-launch","pages":[{"title":"Sandbox API Docs | Tax API Stack for India by Quicko","mode":"wide","sidebarTitle":"Overview","href":""},{"title":"Quickstart","href":"/guides/get-started/quickstart"}]},{"group":"Developer Resources","icon":"screwdriver-wrench","pages":[{"title":"Environments","href":"/guides/developer-resources/environments"},{"title":"Test Environment","href":"/guides/developer-resources/test_environment"},{"title":"Versioning","href":"/guides/developer-resources/versioning"},{"title":"Request \u0026 response structure","href":"/guides/developer-resources/requests_and_responses"},{"title":"Sheet JSON","description":null,"href":"/guides/developer-resources/sheet_json"},{"title":"Errors","href":"/guides/developer-resources/errors"},{"title":"Rate limits","description":"Understand API rate limits for test and production environments and how to handle rate limiting.","href":"/guides/developer-resources/rate_limits"},{"title":"Pagination","href":"/guides/developer-resources/pagination"},{"title":"POST for GET","href":"/guides/developer-resources/post_for_get"},{"title":"Job-based API workflow","href":"/guides/developer-resources/job_based_apis"},{"title":"Response caching","href":"/guides/developer-resources/response_caching"},{"title":"Webhooks","href":"/guides/developer-resources/webhooks"},{"title":"Changelog","href":"/guides/developer-resources/changelog"}]},{"group":"Products","icon":"boxes-stacked","pages":[{"title":"KYC","url":"/api-reference/kyc/overview","href":"/guides/products/kyc"},{"title":"GST","url":"/api-reference/gst/overview","href":"/guides/products/gst"},{"title":"TDS","url":"/api-reference/tds/overview","href":"/guides/products/tds"},{"title":"Income Tax","url":"/api-reference/it/overview","href":"/guides/products/income_tax"}]},{"group":"Billing \u0026 Invoicing","icon":"credit-card","pages":[{"title":"Subscription","href":"/guides/billing-and-invoicing/subscription"},{"title":"Wallet","href":"/guides/billing-and-invoicing/wallet"},{"title":"Invoices","href":"/guides/billing-and-invoicing/invoices"}]}]},{"tab":"API Reference","icon":"code","menu":[{"item":"Authentication","icon":"rocket-vertical","description":"Authenticate and get access to use Sandbox APIs","pages":[{"title":"Authentication","href":"/api-reference/authenticate"}]},{"item":"KYC","icon":"https://mintlify.s3.us-west-1.amazonaws.com/in-co-sandbox/static/svg/workload-icons/KYC.svg","description":"Confirm Identities with confidence","pages":[{"title":"KYC","href":"/api-reference/kyc/overview"}]},{"item":"GST","icon":"https://mintlify.s3.us-west-1.amazonaws.com/in-co-sandbox/static/svg/workload-icons/GST.svg","description":"Simple and Secure GST Compliance","pages":[{"title":"GST","href":"/api-reference/gst/overview"}]},{"item":"TDS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/in-co-sandbox/static/svg/workload-icons/TDS.svg","description":"Automate TDS on Salary \u0026 Non-Salary Payments","pages":[{"title":"TDS","href":"/api-reference/tds/overview"}]},{"item":"Income Tax","icon":"https://mintlify.s3.us-west-1.amazonaws.com/in-co-sandbox/static/svg/workload-icons/IT.svg","description":"Direct tax compliance on auto-pilot","pages":[{"title":"Income Tax","href":"/api-reference/it/overview"}]},{"item":"Bank","icon":"https://mintlify.s3.us-west-1.amazonaws.com/in-co-sandbox/static/svg/Bank.svg","description":"Bank APIs","hidden":true,"pages":[{"title":"Bank","href":"/api-reference/bank/overview"}]}],"pages":[{"title":"API Reference","href":"/api-reference/authenticate"}]},{"tab":"Recipes","icon":"flask","menu":[{"item":"KYC","description":"Quick recipes for fast, reliable identity checks.","pages":[{"title":"KYC","href":"/recipes/kyc/introduction"}]},{"item":"GST","description":"Easy steps for smooth, error-free GST workflows.","pages":[{"title":"GST","href":"/recipes/gst/introduction"}]},{"item":"TDS","description":"Guides to set up seamless, automated TDS.","pages":[{"title":"TDS","href":"/recipes/tds/introduction"}]},{"item":"Income Tax","description":"Ready flows to automate your Income tax tasks.","pages":[{"title":"Income Tax","href":"/recipes/it/introduction"}]}],"pages":[{"title":"Recipes","href":"/recipes/kyc/introduction"}]},{"tab":"Changelog","icon":"clock","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Resources","icon":"books","menu":[{"item":"Postman Collections","icon":"book-bookmark","href":"https://www.postman.com/in-co-sandbox/sandbox-api"},{"item":"SDKs \u0026 Clients","icon":"cube","href":"https://github.com/in-co-sandbox"},{"item":"MCP Server","icon":"server","description":"","href":"https://developer.sandbox.co.in/mcp"},{"item":"Status","icon":"signal-stream","href":"https://status.api.sandbox.co.in/"},{"item":"Pricing","icon":"indian-rupee-sign","href":"https://sandbox.co.in/pricing?utm_campaign=header-menu\u0026utm_source=in-co-sandbox-developer\u0026utm_medium=direct"},{"item":"Customer Stories","icon":"users","href":"https://sandbox.co.in/customers"}]}]},"basePath":"","title":"Errors - Sandbox","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":[],"chunks":[]}