[{"data":1,"prerenderedAt":32},["ShallowReactive",2],{"docs-content:errors":3},{"html":4,"toc":5},"\u003Ch1>Error Codes\u003C/h1>\n\u003Cp>All API errors return a consistent JSON envelope.\u003C/p>\n\u003Ch2 id=\"error-response-format\">Error Response Format\u003C/h2>\n\u003Cpre>\u003Ccode class=\"language-json\">{\n  &quot;code&quot;: 401,\n  &quot;message&quot;: &quot;Unauthorized&quot;,\n  &quot;data&quot;: null,\n  &quot;success&quot;: false,\n  &quot;timestamp&quot;: 1710154200000\n}\n\u003C/code>\u003C/pre>\n\u003Ch2 id=\"http-status-codes\">HTTP Status Codes\u003C/h2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Status\u003C/th>\n\u003Cth>Meaning\u003C/th>\n\u003C/tr>\n\u003C/thead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>\u003Ccode>200\u003C/code>\u003C/td>\n\u003Ctd>Success\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>401\u003C/code>\u003C/td>\n\u003Ctd>Unauthorized — missing or invalid API key\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>403\u003C/code>\u003C/td>\n\u003Ctd>Forbidden — key lacks required scope\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>404\u003C/code>\u003C/td>\n\u003Ctd>Not Found — resource does not exist or belongs to another account\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>500\u003C/code>\u003C/td>\n\u003Ctd>Internal Server Error\u003C/td>\n\u003C/tr>\n\u003C/tbody>\u003C/table>\n\u003Ch2 id=\"common-errors\">Common Errors\u003C/h2>\n\u003Ch3 id=\"401-unauthorized\">401 Unauthorized\u003C/h3>\n\u003Cpre>\u003Ccode class=\"language-json\">{\n  &quot;code&quot;: 401,\n  &quot;message&quot;: &quot;Unauthorized&quot;,\n  &quot;success&quot;: false\n}\n\u003C/code>\u003C/pre>\n\u003Cp>\u003Cstrong>Causes:\u003C/strong>\u003C/p>\n\u003Cul>\n\u003Cli>\u003Ccode>Authorization\u003C/code> header not included\u003C/li>\n\u003Cli>Token does not start with \u003Ccode>gly_\u003C/code>\u003C/li>\n\u003Cli>API key has been revoked\u003C/li>\n\u003C/ul>\n\u003Ch3 id=\"403-forbidden\">403 Forbidden\u003C/h3>\n\u003Cpre>\u003Ccode class=\"language-json\">{\n  &quot;code&quot;: 403,\n  &quot;message&quot;: &quot;Forbidden: missing scope brand:read&quot;,\n  &quot;success&quot;: false\n}\n\u003C/code>\u003C/pre>\n\u003Cp>\u003Cstrong>Causes:\u003C/strong>\u003C/p>\n\u003Cul>\n\u003Cli>API key does not have the scope required by the endpoint\u003C/li>\n\u003Cli>Attempting to access another user&#39;s resource\u003C/li>\n\u003C/ul>\n\u003Ch3 id=\"404-not-found\">404 Not Found\u003C/h3>\n\u003Cpre>\u003Ccode class=\"language-json\">{\n  &quot;code&quot;: 404,\n  &quot;message&quot;: &quot;Brand analysis not found&quot;,\n  &quot;success&quot;: false\n}\n\u003C/code>\u003C/pre>\n\u003Cp>\u003Cstrong>Causes:\u003C/strong>\u003C/p>\n\u003Cul>\n\u003Cli>Resource ID does not exist\u003C/li>\n\u003Cli>Resource belongs to a different account\u003C/li>\n\u003C/ul>\n\u003Ch3 id=\"500-internal-server-error\">500 Internal Server Error\u003C/h3>\n\u003Cpre>\u003Ccode class=\"language-json\">{\n  &quot;code&quot;: 500,\n  &quot;message&quot;: &quot;Internal Server Error&quot;,\n  &quot;success&quot;: false\n}\n\u003C/code>\u003C/pre>\n\u003Cp>Retry with exponential backoff (1 s → 2 s → 4 s). If the error persists, contact support.\u003C/p>\n\u003Ch2 id=\"retry-guide\">Retry Guide\u003C/h2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Error\u003C/th>\n\u003Cth>Retry?\u003C/th>\n\u003Cth>Action\u003C/th>\n\u003C/tr>\n\u003C/thead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>401\u003C/td>\n\u003Ctd>No\u003C/td>\n\u003Ctd>Check or regenerate your API key\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>403\u003C/td>\n\u003Ctd>No\u003C/td>\n\u003Ctd>Verify the scope assigned to your key\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>404\u003C/td>\n\u003Ctd>No\u003C/td>\n\u003Ctd>Confirm the resource ID is correct\u003C/td>\n\u003C/tr>\n\u003Ctr>\n\u003Ctd>500\u003C/td>\n\u003Ctd>Yes\u003C/td>\n\u003Ctd>Exponential backoff\u003C/td>\n\u003C/tr>\n\u003C/tbody>\u003C/table>\n",[6,10,13,16,20,23,26,29],{"id":7,"text":8,"level":9},"error-response-format","Error Response Format",2,{"id":11,"text":12,"level":9},"http-status-codes","HTTP Status Codes",{"id":14,"text":15,"level":9},"common-errors","Common Errors",{"id":17,"text":18,"level":19},"401-unauthorized","401 Unauthorized",3,{"id":21,"text":22,"level":19},"403-forbidden","403 Forbidden",{"id":24,"text":25,"level":19},"404-not-found","404 Not Found",{"id":27,"text":28,"level":19},"500-internal-server-error","500 Internal Server Error",{"id":30,"text":31,"level":9},"retry-guide","Retry Guide",1782847931456]