Validation errors (on POST search endpoints like /financials/search/screener, or on out-of-range query parameters) follow the standard FastAPI shape, listing each offending field:
{ "detail": [ { "loc": ["query", "limit"], "msg": "ensure this value is less than or equal to 10000", "type": "value_error" } ]}
A query for a valid scenario and ticker that simply has no rows returns 200 with an empty list (e.g. {"news": []}).
Non-operating instruments (ETFs, warrants, units) intentionally return empty operating-company datasets (statements, earnings, issuer filings, insider trades) rather than errors. See Ticker universe.
A genuinely unknown scenario_id or ticker returns 404.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"David","description":"Synthetic financial data API for building, training, and evaluating financial AI agents.","colors":{"primary":"#1F3A60","light":"#6C8CC7","dark":"#142A4A"},"logo":{"light":"https://mintcdn.com/davidandbksinc/inEMAHcS2v3dHpIe/logo/david_data_logo_navy_transparent.svg?fit=max\u0026auto=format\u0026n=inEMAHcS2v3dHpIe\u0026q=85\u0026s=3b671f77af402fccf1f11ac791edd60d","dark":"https://mintcdn.com/davidandbksinc/inEMAHcS2v3dHpIe/logo/david_data_logo_white_transparent.svg?fit=max\u0026auto=format\u0026n=inEMAHcS2v3dHpIe\u0026q=85\u0026s=d79b40c230dc8b9788f4bdc80db7f428"},"favicon":"https://mintcdn.com/davidandbksinc/gv22QHmJdsoEI3sJ/favicon.png?fit=max\u0026auto=format\u0026n=gv22QHmJdsoEI3sJ\u0026q=85\u0026s=2b91fe691e74bfb75b3115c8fe29622c","navbar":{"links":[{"href":"mailto:founders@davidhf.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://data.davidhf.com"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"davidandbksinc","hasAudioNarration":false,"actualSubdomain":"davidandbksinc","customDomains":["docs.davidhf.com"],"gitSource":{"type":"github","owner":"david-hedgefund","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"collectionId":"6ecdedb3-ec85-4498-a704-0d4fd0ac0e2d","liveDeploymentHistoryId":"6a570be78b065dcdadbc263a","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae95a5bdbcba01b9ab7fd1d:success","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"API reference","count":18},{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Core concepts","count":5},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Earnings \u0026 estimates","count":3},{"language":"default","tag":"Market \u0026 macro","count":3},{"language":"default","tag":"Disclosures","count":3},{"language":"default","tag":"Financials","count":3},{"language":"default","tag":"Ownership","count":2}]},"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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"errors","slug":"/errors","pageMetadata":{"title":"Errors \u0026 rate limits","description":"HTTP status codes David returns and how to handle them.","href":"/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: \"HTTP status codes David returns and how to handle them.\"\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`,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,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`David uses conventional HTTP status codes and returns errors as JSON with a single `,_jsx(_components.code,{children:`detail`}),` field.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"Scenario not found\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`status-codes`,children:`Status codes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Meaning`}),_jsx(_components.th,{children:`Common causes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`Success`}),_jsx(_components.td,{children:`The request succeeded.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Bad request`}),_jsxs(_components.td,{children:[`Invalid parameter combination, for example `,_jsx(_components.code,{children:`interval`}),` other than `,_jsx(_components.code,{children:`day`}),`, or passing both `,_jsx(_components.code,{children:`ticker`}),` and `,_jsx(_components.code,{children:`holding`}),` to `,_jsx(_components.code,{children:`/index-funds`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Unauthorized`}),_jsxs(_components.td,{children:[`Missing or invalid `,_jsx(_components.code,{children:`X-API-KEY`}),` header.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`Forbidden`}),_jsx(_components.td,{children:`Your key doesn’t have access to the requested resource.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Not found`}),_jsxs(_components.td,{children:[`Unknown `,_jsx(_components.code,{children:`scenario_id`}),`, ticker, CIK, bank code, or artifact id.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`Unprocessable entity`}),_jsxs(_components.td,{children:[`A request body or query parameter failed validation, for example a `,_jsx(_components.code,{children:`limit`}),` above the allowed maximum, or a malformed filter on a `,_jsx(_components.code,{children:`POST`}),` search endpoint.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Too many requests`}),_jsx(_components.td,{children:`You exceeded your key’s per-minute rate limit.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`validation-errors`,children:`Validation errors`}),`\n`,_jsxs(_components.p,{children:[`Validation errors (on `,_jsx(_components.code,{children:`POST`}),` search endpoints like `,_jsx(_components.a,{href:`/api-reference/search`,children:_jsx(_components.code,{children:`/financials/search/screener`})}),`, or on out-of-range query parameters) follow the standard FastAPI shape, listing each offending field:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,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:` \"detail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_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:` \"loc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"query\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"limit\"`}),_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:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ensure this value is less than or equal to 10000\"`}),_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:`\"value_error\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`handling-rate-limits`,children:`Handling rate limits`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`429`}),` includes the rate-limit headers so you know your ceiling and when to retry. The window is a rolling 60 seconds.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"Rate limit exceeded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Response headers on every request:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-RateLimit-Limit`})}),_jsx(_components.td,{children:`Requests allowed per minute.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-RateLimit-Remaining`})}),_jsx(_components.td,{children:`Requests left in the current window.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-Account-ID`})}),_jsx(_components.td,{children:`Account tied to your key.`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Use exponential backoff with jitter on `,_jsx(_components.code,{children:`429`}),` and `,_jsx(_components.code,{children:`5xx`}),` responses. Monitor `,_jsx(_components.code,{children:`X-RateLimit-Remaining`}),` to throttle before you hit the limit.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`empty-results-vs-errors`,children:`Empty results vs. errors`}),`\n`,_jsx(_components.p,{children:`David distinguishes “no data” from “error”:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A query for a valid scenario and ticker that simply has no rows returns `,_jsx(_components.code,{children:`200`}),` with an empty list (e.g. `,_jsx(_components.code,{children:`{\"news\": []}`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Non-operating instruments (ETFs, warrants, units) intentionally return `,_jsx(_components.strong,{children:`empty`}),` operating-company datasets (statements, earnings, issuer filings, insider trades) rather than errors. See `,_jsx(_components.a,{href:`/concepts/ticker-universe`,children:`Ticker universe`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`A genuinely unknown `,_jsx(_components.code,{children:`scenario_id`}),` or ticker returns `,_jsx(_components.code,{children:`404`}),`.`]}),`\n`]})]})}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 \u0026 rate limits","description":"HTTP status codes David returns and how to handle them.","href":"/errors"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Status codes","slug":"status-codes","depth":2,"children":[]},{"title":"Validation errors","slug":"validation-errors","depth":2,"children":[]},{"title":"Handling rate limits","slug":"handling-rate-limits","depth":2,"children":[]},{"title":"Empty results vs. errors","slug":"empty-results-vs-errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"davidandbksinc","siteName":"David","title":"Errors \u0026 rate limits - David","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-19T06:44:49.502Z","originalFileLocation":"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=\"HTTP status codes David returns and how to handle them.\">\u003cmeta data-mint-head name=\"application-name\" content=\"David\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/davidandbksinc/pLmx2bSVF5aPHwFd/_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/davidandbksinc/pLmx2bSVF5aPHwFd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/davidandbksinc/pLmx2bSVF5aPHwFd/_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/davidandbksinc/pLmx2bSVF5aPHwFd/_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/davidandbksinc/pLmx2bSVF5aPHwFd/_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/davidandbksinc/pLmx2bSVF5aPHwFd/_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/davidandbksinc/pLmx2bSVF5aPHwFd/_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/davidandbksinc/pLmx2bSVF5aPHwFd/_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/davidandbksinc/pLmx2bSVF5aPHwFd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Errors \u0026amp; rate limits - David\">\u003cmeta data-mint-head property=\"og:description\" content=\"HTTP status codes David returns and how to handle them.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"David\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.davidhf.com/errors\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://davidandbksinc.mintlify.app/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Errors+%26+rate+limits\u0026amp;description=HTTP+status+codes+David+returns+and+how+to+handle+them.\u0026amp;theme=ee662ea2618d84ee101000d9\u0026amp;signature=d46ad1551a1522ebf0495a2ccf88c0dcf6d804435e4550fcf851736e5414d619\">\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 \u0026amp; rate limits - David\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"HTTP status codes David returns and how to handle them.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://davidandbksinc.mintlify.app/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Errors+%26+rate+limits\u0026amp;description=HTTP+status+codes+David+returns+and+how+to+handle+them.\u0026amp;theme=ee662ea2618d84ee101000d9\u0026amp;signature=d46ad1551a1522ebf0495a2ccf88c0dcf6d804435e4550fcf851736e5414d619\">\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/davidandbksinc/pLmx2bSVF5aPHwFd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"David\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1F3A60\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.davidhf.com/errors\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/errors.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.davidhf.com/#organization\",\"name\":\"David\",\"url\":\"https://docs.davidhf.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/davidandbksinc/inEMAHcS2v3dHpIe/logo/david_data_logo_navy_transparent.svg?fit=max\u0026auto=format\u0026n=inEMAHcS2v3dHpIe\u0026q=85\u0026s=3b671f77af402fccf1f11ac791edd60d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.davidhf.com#website\",\"name\":\"David\",\"url\":\"https://docs.davidhf.com\",\"publisher\":{\"@id\":\"https://docs.davidhf.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.davidhf.com/errors#webpage\",\"url\":\"https://docs.davidhf.com/errors\",\"name\":\"Errors \u0026 rate limits\",\"description\":\"HTTP status codes David returns and how to handle them.\",\"dateModified\":\"2026-06-19T06:44:49.502Z\",\"isPartOf\":{\"@id\":\"https://docs.davidhf.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.davidhf.com/errors#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.davidhf.com/errors#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.davidhf.com/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Errors \u0026 rate limits\",\"item\":\"https://docs.davidhf.com/errors\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.davidhf.com/errors#article\",\"headline\":\"Errors \u0026 rate limits\",\"name\":\"Errors \u0026 rate limits\",\"description\":\"HTTP status codes David returns and how to handle them.\",\"url\":\"https://docs.davidhf.com/errors\",\"mainEntityOfPage\":{\"@id\":\"https://docs.davidhf.com/errors#webpage\"},\"dateModified\":\"2026-06-19T06:44:49.502Z\",\"publisher\":{\"@id\":\"https://docs.davidhf.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.davidhf.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"David\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"David","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get started","pages":[{"title":"Introduction","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","description":"API keys and rate limits.","href":"/authentication"},{"title":"Errors \u0026 rate limits","href":"/errors"}]},{"group":"Core concepts","pages":[{"title":"Scenarios","description":"The self-contained synthetic market world behind every David response.","href":"/concepts/scenarios"},{"title":"Synthetic data \u0026 provenance","href":"/concepts/synthetic-data"},{"title":"Market coverage","href":"/concepts/market-coverage"},{"title":"Ticker universe","href":"/concepts/ticker-universe"},{"title":"Date semantics","href":"/concepts/date-semantics"}]},{"group":"Clients","pages":[{"title":"Python SDK","href":"/sdk/python"},{"title":"MCP server","href":"/mcp"}]},{"group":"Guides","pages":[{"title":"How to get fundamentals","href":"/guides/get-fundamentals"},{"title":"How to get stock prices","href":"/guides/get-stock-prices"},{"title":"How to search SEC filings","href":"/guides/search-filings"},{"title":"Building point-in-time agents","href":"/guides/point-in-time-agents"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/overview"}]}]},"basePath":"","title":"Errors \u0026 rate limits - David","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":[],"chunks":[]}