# 403 Error When Retrieving Newly Created Location via API

**URL:** <https://developer.squareup.com/forums/t/403-error-when-retrieving-newly-created-location-via-api/23716>\
**Category:** Questions\
**Tags:** locations-api\
**Created:** [August 19, 2025, 10:43am UTC](https://developer.squareup.com/forums/t/403-error-when-retrieving-newly-created-location-via-api/23716 "2025-08-19T10:43:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![murphyzhang](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@murphyzhang](https://developer.squareup.com/forums/u/murphyzhang)\
**Post date:** [August 19, 2025, 10:43am UTC](https://developer.squareup.com/forums/t/403-error-when-retrieving-newly-created-location-via-api/23716/1 "2025-08-19T10:43:52Z")

</div>

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?

 ![}}6BQJO90G$8FCCGVHX1JBK](https://global.discourse-cdn.com/square/original/2X/a/a53c9f2d6c3f71e4897d1d9d40c89279abad6700.png)

 ![image](https://global.discourse-cdn.com/square/original/2X/c/cd87561341169909b146645858482aff42b4213e.png)

Thanks,

Murphy

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [August 19, 2025, 10:44am UTC](https://developer.squareup.com/forums/t/403-error-when-retrieving-newly-created-location-via-api/23716/2 "2025-08-19T10:44:06Z")

</div>

👋 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](https://developer.squareup.com/docs/locations-api)**
>
> Learn how to use a Square API to update and retrieve location information for a Square seller.

> **[Locations API](https://developer.squareup.com/docs/locations-api/how-it-works)**
>
> Learn how to use a Square API to update and retrieve location information for a Square seller.

> **Additional Documentation**
>
> [Locations API](https://developer.squareup.com/docs/locations-api/cookbook/get-locations)  
> [Migrate to the Square API OAuth Flow](https://developer.squareup.com/docs/oauth-api/migrate-to-square-oauth-flow)  
> [Merchant APIs](https://developer.squareup.com/docs/merchant-details)

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.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [August 19, 2025, 5:21pm UTC](https://developer.squareup.com/forums/t/403-error-when-retrieving-newly-created-location-via-api/23716/3 "2025-08-19T17:21:57Z")

</div>

If you retry the request does it work? Also did you get this error right after creating the location? 🙂

---

<div class="post-metadata">

**Author:** ![murphyzhang](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@murphyzhang](https://developer.squareup.com/forums/u/murphyzhang)\
**Post date:** [August 20, 2025, 2:06am UTC](https://developer.squareup.com/forums/t/403-error-when-retrieving-newly-created-location-via-api/23716/4 "2025-08-20T02:06:05Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [August 20, 2025, 4:10pm UTC](https://developer.squareup.com/forums/t/403-error-when-retrieving-newly-created-location-via-api/23716/5 "2025-08-20T16:10:19Z")

</div>

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. 🙂
