SDK or API calls return an error with the error message: “Subdomain mismatch”. This happens due to a mismatch between namespace and baseURL.
1 Like
- Please check
BaseUrl
,ClientId
andNamespace
in yourDefaultEngine.ini
(for UE) orAccelByteSDKConfig.json
(for Unity). - Make sure the namespace’s value is the correct Title ID.
- You can check your Title ID by following this step
- Open the admin portal landing page.
- Click the Cog icon in the Game Title you wish.
- You can find the Title ID on the page
- Make sure the BaseURL follows this pattern
<titleID>.developers.foundations.accelbyte.io
. Example: https://spaceshooter.developers.foundations.accelbyte.io - Make sure the clientID belongs to the correct game title
- You can check it by going to the Oauth Clients menu and make sure that you select the correct namespace