[{"data":1,"prerenderedAt":232},["ShallowReactive",2],{"navigation":3,"error:AUTH_SANDBOX_MISMATCH":45},{"title":4,"links":5},"API reference",[6,9,12,15,18,21,24,27,30,33,36,39,42],{"title":7,"href":8},"Accounts","\u002Freference\u002Faccounts",{"title":10,"href":11},"Connect","\u002Freference\u002Fconnect",{"title":13,"href":14},"Calendars","\u002Freference\u002Fcalendars",{"title":16,"href":17},"Events","\u002Freference\u002Fevents",{"title":19,"href":20},"Availability","\u002Freference\u002Favailability",{"title":22,"href":23},"Meetings","\u002Freference\u002Fmeetings",{"title":25,"href":26},"Invitations","\u002Freference\u002Finvitations",{"title":28,"href":29},"Webhooks","\u002Freference\u002Fwebhooks",{"title":31,"href":32},"Metadata","\u002Freference\u002Fmetadata",{"title":34,"href":35},"Keys","\u002Freference\u002Fkeys",{"title":37,"href":38},"Sandbox","\u002Freference\u002Fsandbox",{"title":40,"href":41},"Usage","\u002Freference\u002Fusage",{"title":43,"href":44},"Logs","\u002Freference\u002Flogs",{"kind":46,"title":47,"description":48,"sections":49,"body":62},"generated","AUTH_SANDBOX_MISMATCH","A test key was used with live data, or a live key was used with sandbox data.",[50,53,56,59],{"id":51,"title":52},"what-to-do","What to do",{"id":54,"title":55},"why","Why it happens",{"id":57,"title":58},"where","Where it comes from",{"id":60,"title":61},"related","Related errors",{"type":63,"value":64},"minimark",[65,69,75,83,88,104,111,115,129,134,218,222],[66,67,47],"h1",{"id":68},"auth_sandbox_mismatch",[70,71,72],"lead",{},[73,74,48],"p",{},[73,76,77,78,82],{},"HTTP status: ",[79,80,81],"strong",{},"403",". Retrying the same request returns the same error.",[84,85,86],"section-heading",{"id":51},[73,87,52],{},[73,89,90,91,95,96,99,100,103],{},"Check which key your environment loads. Test keys start with ",[92,93,94],"code",{},"pyas_sk_test_",". Live keys start with ",[92,97,98],{},"pyas_sk_"," and do not include ",[92,101,102],{},"test_",". To test connecting accounts in the sandbox, use PyasConnect with a connect session created with your test key.",[73,105,106,107],{},"Hint returned with the error: ",[108,109,110],"em",{},"Use a test key for sandbox requests and a live key for real connections.",[84,112,113],{"id":54},[73,114,55],{},[116,117,118,122],"ul",{},[119,120,121],"li",{},"API keys swapped between environments",[119,123,124,125,128],{},"A request that only works with real accounts was sent with a test key: an account import, or connecting without PyasConnect (",[92,126,127],{},"GET \u002Fv2\u002Fconnect\u002Foauth",")",[84,130,131],{"id":57},[73,132,133],{},"Endpoints that return it",[116,135,136,147,156,164,173,182,191,200,209],{},[119,137,138,143,144],{},[139,140,142],"a",{"href":141},"\u002Freference\u002Faccounts#accounts-import","Import accounts"," ",[92,145,146],{},"POST \u002Fv2\u002Faccounts\u002Fimport",[119,148,149,143,153],{},[139,150,152],{"href":151},"\u002Freference\u002Fconnect#connect-accounts-create","Connect an account with a code",[92,154,155],{},"POST \u002Fv2\u002Fconnect\u002Faccounts",[119,157,158,143,162],{},[139,159,161],{"href":160},"\u002Freference\u002Fconnect#connect-oauth","Get a sign-in URL",[92,163,127],{},[119,165,166,143,170],{},[139,167,169],{"href":168},"\u002Freference\u002Fwebhooks#webhooks-listen","Stream sandbox webhook events",[92,171,172],{},"GET \u002Fv2\u002Fwebhooks\u002Flisten",[119,174,175,143,179],{},[139,176,178],{"href":177},"\u002Freference\u002Fsandbox#sandbox-get","Get the sandbox",[92,180,181],{},"GET \u002Fv2\u002Fsandbox",[119,183,184,143,188],{},[139,185,187],{"href":186},"\u002Freference\u002Fsandbox#sandbox-reset","Reset the sandbox",[92,189,190],{},"POST \u002Fv2\u002Fsandbox\u002Freset",[119,192,193,143,197],{},[139,194,196],{"href":195},"\u002Freference\u002Fsandbox#sandbox-simulatechange","Simulate an external change",[92,198,199],{},"POST \u002Fv2\u002Fsandbox\u002Fsimulate-change",[119,201,202,143,206],{},[139,203,205],{"href":204},"\u002Freference\u002Fsandbox#sandbox-simulatemeeting","Simulate a Zoom meeting event",[92,207,208],{},"POST \u002Fv2\u002Fsandbox\u002Fsimulate-meeting",[119,210,211,143,215],{},[139,212,214],{"href":213},"\u002Freference\u002Fsandbox#sandbox-simulatereply","Simulate an invitation response",[92,216,217],{},"POST \u002Fv2\u002Fsandbox\u002Fsimulate-reply",[84,219,220],{"id":60},[73,221,61],{},[116,223,224],{},[119,225,226],{},[139,227,229],{"href":228},"\u002Ferrors\u002FAUTH_INVALID_KEY",[92,230,231],{},"AUTH_INVALID_KEY",1794697262465]