[{"data":1,"prerenderedAt":302},["ShallowReactive",2],{"apiv3-nav":3,"\u002Fapi\u002Fv3\u002Ferrors":107},[4],{"title":5,"path":6,"stem":7,"children":8,"page":106},"V3","\u002Fapi\u002Fv3","2.api\u002Fv3",[9,13,17,30,39,56,73],{"title":10,"path":11,"stem":12},"Introduction","\u002Fapi\u002Fv3\u002Fintroduction","2.api\u002Fv3\u002F1.Introduction",{"title":14,"path":15,"stem":16},"Errors","\u002Fapi\u002Fv3\u002Ferrors","2.api\u002Fv3\u002F2.Errors",{"title":18,"path":19,"stem":20,"children":21},"Challenges","\u002Fapi\u002Fv3\u002Fchallenges","2.api\u002Fv3\u002F4.Challenges",[22,26],{"title":23,"path":24,"stem":25},"The challenge object","\u002Fapi\u002Fv3\u002Fchallenges\u002Fthe-challenge-object","2.api\u002Fv3\u002F4.Challenges\u002F1.The challenge object",{"title":27,"path":28,"stem":29},"Retrieve a challenge","\u002Fapi\u002Fv3\u002Fchallenges\u002Fretrieve-a-challenge","2.api\u002Fv3\u002F4.Challenges\u002F2.Retrieve a challenge",{"title":31,"path":32,"stem":33,"children":34},"Devices","\u002Fapi\u002Fv3\u002Fdevices","2.api\u002Fv3\u002F5.Devices",[35],{"title":36,"path":37,"stem":38},"The device object","\u002Fapi\u002Fv3\u002Fdevices\u002Fthe-device-object","2.api\u002Fv3\u002F5.Devices\u002F1.The device object",{"title":40,"path":41,"stem":42,"children":43},"Users","\u002Fapi\u002Fv3\u002Fusers","2.api\u002Fv3\u002F6.Users",[44,48,52],{"title":45,"path":46,"stem":47},"The user object","\u002Fapi\u002Fv3\u002Fusers\u002Fthe-user-object","2.api\u002Fv3\u002F6.Users\u002F1.The user object",{"title":49,"path":50,"stem":51},"Update a user","\u002Fapi\u002Fv3\u002Fusers\u002Fupdate-a-user","2.api\u002Fv3\u002F6.Users\u002F2.Update a user",{"title":53,"path":54,"stem":55},"Retrieve user devices","\u002Fapi\u002Fv3\u002Fusers\u002Fretrieve-user-devices","2.api\u002Fv3\u002F6.Users\u002F3.Retrieve user devices",{"title":57,"path":58,"stem":59,"children":60},"Evaluations","\u002Fapi\u002Fv3\u002Fevaluations","2.api\u002Fv3\u002F7.Evaluations",[61,65,69],{"title":62,"path":63,"stem":64},"The evaluation object","\u002Fapi\u002Fv3\u002Fevaluations\u002Fthe-evaluation-object","2.api\u002Fv3\u002F7.Evaluations\u002F1.The evaluation object",{"title":66,"path":67,"stem":68},"Retrieve an evaluation","\u002Fapi\u002Fv3\u002Fevaluations\u002Fretrieve-an-evaluation","2.api\u002Fv3\u002F7.Evaluations\u002F2.Retrieve an evaluation",{"title":70,"path":71,"stem":72},"Consume an evaluation","\u002Fapi\u002Fv3\u002Fevaluations\u002Fconsume-an-evaluation","2.api\u002Fv3\u002F7.Evaluations\u002F3.Consume an evaluation",{"title":74,"path":75,"stem":76,"children":77,"page":106},"Webhooks","\u002Fapi\u002Fv3\u002Fwebhooks","2.api\u002Fv3\u002F98.Webhooks",[78,82,86,90,94,98,102],{"title":79,"path":80,"stem":81},"Challenge initiated","\u002Fapi\u002Fv3\u002Fwebhooks\u002Fchallenge-initiated","2.api\u002Fv3\u002F98.Webhooks\u002F1.Challenge initiated",{"title":83,"path":84,"stem":85},"Challenge pending","\u002Fapi\u002Fv3\u002Fwebhooks\u002Fchallenge-pending","2.api\u002Fv3\u002F98.Webhooks\u002F2.Challenge pending",{"title":87,"path":88,"stem":89},"Challenge skipped","\u002Fapi\u002Fv3\u002Fwebhooks\u002Fchallenge-skipped","2.api\u002Fv3\u002F98.Webhooks\u002F3.Challenge skipped",{"title":91,"path":92,"stem":93},"Challenge completed","\u002Fapi\u002Fv3\u002Fwebhooks\u002Fchallenge-completed","2.api\u002Fv3\u002F98.Webhooks\u002F4.Challenge completed",{"title":95,"path":96,"stem":97},"Account sharing signal","\u002Fapi\u002Fv3\u002Fwebhooks\u002Faccount-sharing-signal","2.api\u002Fv3\u002F98.Webhooks\u002F5.Account sharing signal",{"title":99,"path":100,"stem":101},"Device detached","\u002Fapi\u002Fv3\u002Fwebhooks\u002Fdevice-detached","2.api\u002Fv3\u002F98.Webhooks\u002F6.Device detached",{"title":103,"path":104,"stem":105},"User converted","\u002Fapi\u002Fv3\u002Fwebhooks\u002Fuser-converted","2.api\u002Fv3\u002F98.Webhooks\u002F7.User converted",false,{"id":108,"title":14,"body":109,"description":293,"extension":296,"meta":297,"navigation":298,"path":15,"seo":299,"sitemap":300,"stem":16,"__hash__":301},"apiv3\u002F2.api\u002Fv3\u002F2.Errors.md",{"type":110,"value":111,"toc":292},"minimark",[112,116],[113,114,14],"h1",{"id":115},"errors",[117,118,123,124,123,157],"div",{"className":119},[120,121,122],"grid","grid-cols-2","gap-10","\n  ",[117,125,126,127,126,131,123],{},"\n    ",[128,129,130],"p",{},"Rupt uses conventional HTTP response codes. A code in the 2xx range means the request worked. A code in the 4xx range means the request failed given the information you sent, for example a missing parameter or a business rule that wasn't met. A code in the 5xx range means something went wrong on Rupt's side, which is rare.",[128,132,135,136,140,141,144,145,148,149,152,153,156],{"className":133},[134],"my-2","The Node SDK turns non-2xx responses into a ",[137,138,139],"code",{},"RuptApiError"," that carries the ",[137,142,143],{},"status"," and the parsed response ",[137,146,147],{},"body",", so you can branch on either. Network failures throw ",[137,150,151],{},"RuptNetworkError",", and a request that runs past the timeout throws ",[137,154,155],{},"RuptTimeoutError",".",[117,158,126,159,126,164,123],{},[117,160,163],{"className":161},[162],"table-cap","HTTP status code summary",[117,165,168,169,126],{"className":166},[167],"table-wrap","\n      ",[170,171,174,175,168],"table",{"className":172},[173],"table-dark","\n        ",[176,177,178,179,178,199,178,213,178,226,178,239,178,252,178,265,178,278,174],"tbody",{},"\n          ",[180,181,182,183,182,192,182,195,178],"tr",{},"\n            ",[184,185,191],"td",{"className":186},[187,188,189,190],"px-2","w-1","font-bold","text-success","200",[184,193,194],{},"OK",[184,196,198],{"className":197},[187],"Everything worked as expected.",[180,200,182,201,182,206,182,209,178],{},[184,202,205],{"className":203},[187,188,189,204],"text-warning","400",[184,207,208],{},"Bad Request",[184,210,212],{"className":211},[187],"The request was unacceptable, often due to missing a required parameter.",[180,214,182,215,182,219,182,222,178],{},[184,216,218],{"className":217},[187,189,204],"401",[184,220,221],{},"Unauthorized",[184,223,225],{"className":224},[187],"No valid project secret was provided.",[180,227,182,228,182,232,182,235,178],{},[184,229,231],{"className":230},[187,189,204],"403",[184,233,234],{},"Forbidden",[184,236,238],{"className":237},[187],"The project secret doesn't have permission to perform the request.",[180,240,182,241,182,245,182,248,178],{},[184,242,244],{"className":243},[187,189,204],"404",[184,246,247],{},"Not Found",[184,249,251],{"className":250},[187],"The requested resource doesn't exist.",[180,253,182,254,182,258,182,261,178],{},[184,255,257],{"className":256},[187,189,204],"409",[184,259,260],{},"Conflict",[184,262,264],{"className":263},[187],"The resource is in a state that blocks the request, for example an evaluation that was already consumed.",[180,266,182,267,182,271,182,274,178],{},[184,268,270],{"className":269},[187,189,204],"428",[184,272,273],{},"Upgrade Required",[184,275,277],{"className":276},[187],"This action requires a Rupt subscription.",[180,279,182,280,182,285,182,288,178],{},[184,281,284],{"className":282},[187,189,283],"text-error","500",[184,286,287],{},"Internal Server Error",[184,289,291],{"className":290},[187],"Something went wrong on Rupt's end.",{"title":293,"searchDepth":294,"depth":294,"links":295},"",2,[],"md",{},true,{"title":14,"description":293},{"loc":15},"sVBK53-qj_V5_T-HNonKjGIVFPpqhniGGcdpepdmAHo",1782231911870]