# Failed to access the sandbox authorization URL, network error 400

**URL:** <https://developer.squareup.com/forums/t/failed-to-access-the-sandbox-authorization-url-network-error-400/28584>\
**Category:** Questions\
**Created:** [November 13, 2026, 1:38am UTC](https://developer.squareup.com/forums/t/failed-to-access-the-sandbox-authorization-url-network-error-400/28584 "2026-11-13T01:38:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomka](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tomka](https://developer.squareup.com/forums/u/tomka)\
**Post date:** [November 13, 2026, 1:38am UTC](https://developer.squareup.com/forums/t/failed-to-access-the-sandbox-authorization-url-network-error-400/28584/1 "2026-11-13T01:38:34Z")

</div>

oauth address url

 ![square_error](https://global.discourse-cdn.com/square/original/2X/b/bd6955720c0e9f722eafffac74c2bb9612e8fd47.png)  
Failed to access the sandbox authorization URL, network error 400

---

<div class="post-metadata">

**Author:** ![tomka](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tomka](https://developer.squareup.com/forums/u/tomka)\
**Post date:** [November 13, 2026, 3:28am UTC](https://developer.squareup.com/forums/t/failed-to-access-the-sandbox-authorization-url-network-error-400/28584/3 "2026-11-13T03:28:43Z")

</div>

I’m unable to revoke this authorization — the API returns an error.  
i want to call api interface /oauth2/revoke,  
error message :  
/oauth2/revoke  
{  
“errors” : [ {  
“category” : “INVALID\_REQUEST\_ERROR”,  
“code” : “BAD\_REQUEST”,  
“detail” : “Cannot revoke personal access token. If you would like a new personal access token, please replace it in the developer dashboard.”  
} ]  
}

I also tried revoking it through the sandbox environment console, but there’s no revocation option available there.

 ![square-oauth](https://global.discourse-cdn.com/square/original/2X/a/ad95e223195443a110a9cb9a5655592b35d9c795.png)  
 ![oauth-detail](https://global.discourse-cdn.com/square/original/2X/7/79798947e176831eef2c2ef3903c563fb9e1c89c.png)

---

<div class="post-metadata">

**Author:** ![zacstlouis](https://avatars.discourse-cdn.com/v4/letter/z/b5a626/32.png) [@zacstlouis](https://developer.squareup.com/forums/u/zacstlouis)\
**Post date:** [November 13, 2026, 5:54pm UTC](https://developer.squareup.com/forums/t/failed-to-access-the-sandbox-authorization-url-network-error-400/28584/4 "2026-11-13T17:54:22Z")

</div>

Could you try creating an OAuth access token with the following steps

1. In the Developer Console, open _Sandbox test accounts_ and click _Open in Square Dashboard_ for the test account you want to authorize.
2. Leave that tab open, then load your authorization URL (`https://connect.squareupsandbox.com/oauth2/authorize?client_id=sandbox-sq0idb-...&scope=...`) in the same browser.
