# Square Sandbox Orders API – 403 FORBIDDEN despite correct location ID

**URL:** <https://developer.squareup.com/forums/t/square-sandbox-orders-api-403-forbidden-despite-correct-location-id/28239>\
**Category:** Questions\
**Created:** [October 16, 2026, 9:28am UTC](https://developer.squareup.com/forums/t/square-sandbox-orders-api-403-forbidden-despite-correct-location-id/28239 "2026-10-16T09:28:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBKidsEssentials](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@JBKidsEssentials](https://developer.squareup.com/forums/u/JBKidsEssentials)\
**Post date:** [October 16, 2026, 9:28am UTC](https://developer.squareup.com/forums/t/square-sandbox-orders-api-403-forbidden-despite-correct-location-id/28239/1 "2026-10-16T09:28:33Z")

</div>

Hi Square Developer Support,

I’m testing the Orders API in Sandbox for my website, JB Kids Essentials.

CreateOrder returns **403 FORBIDDEN** with:  
Not authorized to access orders with location\_id=LKP76VD9V4GAO

An earlier CreateOrder request succeeded with HTTP 200, but newer requests fail.

Merchant ID: MLNYK1TZF9KJF

Trace ID: KHWjKFhhSfDDJ

Could you help identify why my Sandbox application cannot access this location and how to resolve it?

Thank you.

---

<div class="post-metadata">

**Author:** ![ashley-square](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@ashley-square](https://developer.squareup.com/forums/u/ashley-square)\
**Post date:** [October 19, 2026, 2:54pm UTC](https://developer.squareup.com/forums/t/square-sandbox-orders-api-403-forbidden-despite-correct-location-id/28239/3 "2026-10-19T14:54:19Z")

</div>

This 403 means the access token on the failing requests isn’t authorized for the Sandbox seller account that owns location `LKP76VD9V4GAO`. The usual cause is that the token changed between the request that worked and the ones that fail. For example, you switched to a different Sandbox test account’s token, an OAuth token issued for another seller, or your production token.

To confirm:

- Call [RetrieveTokenStatus](https://developer.squareup.com/reference/square/oauth-api/retrieve-token-status) against the Sandbox host ([connect.squareupsandbox.com/oauth2/token/status](http://connect.squareupsandbox.com/oauth2/token/status)) with the token you’re using now. It returns the `merchant_id` the token belongs to. That value should be `MLNYK1TZF9KJF`.
- Call [ListLocations](https://developer.squareup.com/reference/square/locations-api/list-locations) with the same token and check whether `LKP76VD9V4GAO` is in the response.

If either check fails, use the access token for the Sandbox test account that owns that location. You can find it in the Developer Console under Credentials \> Sandbox. If you’re using OAuth, have that seller authorize again. If both checks pass and the 403 continues, reply with your application ID and the full request and response and I can take a deeper look for you!
