# Callback not allowed

**URL:** <https://forums.nylas.com/t/callback-not-allowed/354>\
**Category:** Question and Answers\
**Created:** [August 14, 2024, 2:00am UTC](https://forums.nylas.com/t/callback-not-allowed/354 "2024-08-14T02:00:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![owensully](https://avatars.discourse-cdn.com/v4/letter/o/ce7236/32.png) [@owensully](https://forums.nylas.com/u/owensully)\
**Post date:** [August 14, 2024, 2:00am UTC](https://forums.nylas.com/t/callback-not-allowed/354/1 "2024-08-14T02:00:14Z")

</div>

Trying to authenticate using this URL “http\_s://api.us.nylas.com/v3/connect/auth”

I get this error.

For Application given RedirectURI ‘[http://localhost:3000/api/nylas/callback](http://localhost:3000/api/nylas/callback)’ is not allowed

I’ve added this exact callback uri inside nylas Dashboard → Hosted Authentication → Callback URIs, and I still receive the error.

Any ideas?

If it matters, it’s a sandbox application.

---

<div class="post-metadata">

**Author:** ![owensully](https://avatars.discourse-cdn.com/v4/letter/o/ce7236/32.png) [@owensully](https://forums.nylas.com/u/owensully)\
**Post date:** [August 14, 2024, 2:02am UTC](https://forums.nylas.com/t/callback-not-allowed/354/2 "2024-08-14T02:02:37Z")

</div>

Never mind. I just needed to change the url to eu instead of us.

Make sure to match it with your application guys. thanks.

---

<div class="post-metadata">

**Author:** ![Blag](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.nylas.com/blag/32/9_2.png) [@Blag](https://forums.nylas.com/u/Blag)\
**Post date:** [August 14, 2024, 11:38am UTC](https://forums.nylas.com/t/callback-not-allowed/354/3 "2024-08-14T11:38:18Z")

</div>

@owensully I’m glad you find the solution on your own 😃
