[{"data":1,"prerenderedAt":291},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fapi\u002Ferrors-and-limits":3,"docs-section-API":271},{"id":4,"title":5,"body":6,"description":261,"extension":262,"meta":263,"navigation":264,"order":265,"path":266,"section":267,"seo":268,"stem":269,"__hash__":270},"docs\u002Fdocs\u002Fapi\u002Ferrors-and-limits.md","Errors and limits",{"type":7,"value":8,"toc":257},"minimark",[9,14,18,71,174,177,181,184,246,253],[10,11,13],"h2",{"id":12},"errors","Errors",[15,16,17],"p",{},"An error has a status code and a sentence saying what went wrong, written to be shown to a person:",[19,20,25],"pre",{"className":21,"code":22,"language":23,"meta":24,"style":24},"language-json shiki shiki-themes github-light github-dark","{\n  \"statusCode\": 402,\n  \"statusMessage\": \"This month's video minutes are used. This video costs $0.80 from credits ($0.10 a minute): add credits to make it.\"\n}\n","json","",[26,27,28,37,53,65],"code",{"__ignoreMap":24},[29,30,33],"span",{"class":31,"line":32},"line",1,[29,34,36],{"class":35},"sVt8B","{\n",[29,38,40,44,47,50],{"class":31,"line":39},2,[29,41,43],{"class":42},"sj4cs","  \"statusCode\"",[29,45,46],{"class":35},": ",[29,48,49],{"class":42},"402",[29,51,52],{"class":35},",\n",[29,54,56,59,61],{"class":31,"line":55},3,[29,57,58],{"class":42},"  \"statusMessage\"",[29,60,46],{"class":35},[29,62,64],{"class":63},"sZZnC","\"This month's video minutes are used. This video costs $0.80 from credits ($0.10 a minute): add credits to make it.\"\n",[29,66,68],{"class":31,"line":67},4,[29,69,70],{"class":35},"}\n",[72,73,74,87],"table",{},[75,76,77],"thead",{},[78,79,80,84],"tr",{},[81,82,83],"th",{},"Code",[81,85,86],{},"What it means",[88,89,90,101,111,120,130,140,150,160],"tbody",{},[78,91,92,98],{},[93,94,95],"td",{},[26,96,97],{},"400",[93,99,100],{},"Something in the request is wrong: a name the template doesn't have, text that's too long, a color that isn't one. The message says which.",[78,102,103,108],{},[93,104,105],{},[26,106,107],{},"401",[93,109,110],{},"No key, a wrong key or a revoked key.",[78,112,113,117],{},[93,114,115],{},[26,116,49],{},[93,118,119],{},"Your minutes and credits don't cover this video. Add credits, then try again.",[78,121,122,127],{},[93,123,124],{},[26,125,126],{},"404",[93,128,129],{},"No such brand, template, size or render in this account.",[78,131,132,137],{},[93,133,134],{},[26,135,136],{},"413",[93,138,139],{},"A photo over 4 MB.",[78,141,142,147],{},[93,143,144],{},[26,145,146],{},"415",[93,148,149],{},"A photo that isn't a JPEG, PNG or WebP.",[78,151,152,157],{},[93,153,154],{},[26,155,156],{},"429",[93,158,159],{},"Too many requests for now. Wait, then try again.",[78,161,162,171],{},[93,163,164,167,168],{},[26,165,166],{},"502",", ",[26,169,170],{},"503",[93,172,173],{},"Videos couldn't be started just now. Try again in a minute.",[15,175,176],{},"Nothing is charged for a request that gets an error.",[10,178,180],{"id":179},"limits","Limits",[15,182,183],{},"The limits are there to stop runaway scripts and key guessing. Your minutes and credits are the real limit.",[72,185,186,196],{},[75,187,188],{},[78,189,190,193],{},[81,191,192],{},"What",[81,194,195],{},"Limit",[88,197,198,206,214,222,230,238],{},[78,199,200,203],{},[93,201,202],{},"Renders started from one IP address",[93,204,205],{},"300 an hour",[78,207,208,211],{},[93,209,210],{},"Renders started for one brand",[93,212,213],{},"120 an hour",[78,215,216,219],{},[93,217,218],{},"Photos added to one brand",[93,220,221],{},"200 an hour",[78,223,224,227],{},[93,225,226],{},"Requests with a wrong key from one IP address",[93,228,229],{},"30 an hour, then blocked for the rest of the hour",[78,231,232,235],{},[93,233,234],{},"Keys per account",[93,236,237],{},"20",[78,239,240,243],{},[93,241,242],{},"A photo",[93,244,245],{},"4 MB",[15,247,248,249,252],{},"If you need more, write to ",[250,251],"support-email",{},".",[254,255,256],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":24,"searchDepth":39,"depth":39,"links":258},[259,260],{"id":12,"depth":39,"text":13},{"id":179,"depth":39,"text":180},"What an error looks like, what each one means, and how much you can do.","md",{},true,7,"\u002Fdocs\u002Fapi\u002Ferrors-and-limits","API",{"title":5,"description":261},"docs\u002Fapi\u002Ferrors-and-limits","BvphkCoEeYHvojDkBzcjN6yKQ3Fy0rK-iE6jQ01jQAw",[272,275,278,281,284,287,290],{"path":273,"title":274},"\u002Fdocs\u002Fapi","Video API",{"path":276,"title":277},"\u002Fdocs\u002Fapi\u002Fauthentication","Authentication",{"path":279,"title":280},"\u002Fdocs\u002Fapi\u002Ftemplates","Templates",{"path":282,"title":283},"\u002Fdocs\u002Fapi\u002Fbrands-and-photos","Brands and photos",{"path":285,"title":286},"\u002Fdocs\u002Fapi\u002Frenders","Renders",{"path":288,"title":289},"\u002Fdocs\u002Fapi\u002Fusage","Usage",{"path":266,"title":5},1793740287704]