Answered

Error 403 Workspace is hosted in a different region

  • 23 November 2023
  • 2 replies
  • 60 views

While integrating and testing SDK, I’ve got this error:
Error Domain=IntercomSDKErrorDomain Code=403 "ERROR - [HTTP 403] - Your workspace is hosted in Europe but you connected to United States" UserInfo={NSLocalizedDescription=ERROR - [HTTP 403] - Your workspace is hosted in Europe but you connected to United States}
The reason is clear for me but not so clear how to fix it.
How exactly my team can help to resolve this issue?
 

icon

Best answer by Shauna 24 November 2023, 15:16

View original

2 replies

Userlevel 3
Badge +4

Hey @Hanna Oksanichenko 👋🏼  Shauna here from Support! 

I created a conversation with our support engineers to dive into this a bit more for you 👀 Seems a bit more on the technical/trickier side, best to have someone take a look for you!


UPDATE - Solution ⬇️

You'll need to specify the correct value for api_base in your installation snippet. For an EU workspace, you'd have the following:

api_base: "https://api-iam.eu.intercom.io"

You can get the snippet from your installation settings, and here's our doc with further information.

When I use the sample on the iOS platform, this error will be reported. How can I solve this problem

 

Reply