Hi Square Team,
We created a new Location, and upon receiving the Location Created webhook, we called the RetrieveLocation API but received a 403 error.
Could you please help us understand the reason for this error?
Thanks,
Murphy
Hi Square Team,
We created a new Location, and upon receiving the Location Created webhook, we called the RetrieveLocation API but received a 403 error.
Could you please help us understand the reason for this error?
Thanks,
Murphy
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Locations API
Migrate to the Square API OAuth Flow
Merchant APIs
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
If you retry the request does it work? Also did you get this error right after creating the location? ![]()
Thank you for your response. I’d like to follow up with one more detail:
This issue only occurs right after the Location is created — when I retry the RetrieveLocation API later, it works normally.
This can happen due to some asynchronous functions that have to complete within our servers before the location can be returned by the API. It’s best to put in a retry after a few seconds. ![]()