Invalid configuration request for gameId:

When I press play in the editor I got those two errors:

Invalid configuration request for gameId:
System.Threading._ThreadPoolWaitCallback: PerformWaitCallback()
The remote server returned an error: (404) Not Found.
System.Threading._ThreadPoolWaitCallback: PerformWaitCallback()

If I click on errors the below file is open at lines 131,132:
[…]\Library\PackageCache\com.unity.ads@3.4.7\Runtime\Advertisement\Platform\Editor\EditorPlatform.cs

We had a regression on the error message I think your supposed to be getting. It used to inform you that the gameId was not valid and what was often times the issue, if you used your iOS gameId in an android application or vise versa, it would tell you this.

404 Not Found at this point means we couldn’t lookup your gameId and find it in our system for that platform.

1 Like

thank you for your answer.

I need a clarification:
in the editor, in UDP Settings I have all settings like in the UDP dashboard except Game ID. As you can see in below two print screens. I cannot edit the Game ID either in the editor or UDP dashboard. (I got the data in the editor by pushing pull button). Is it normal to be different?

one mention: I use only In-app Purchasing, not Unity Ads so in the editor at services Ads is off and Analytics and In-App are on.

The error your getting is an ads sdk error. Im guessing you did not install the asset store package of the ads sdk. can you confirm that in package manager (Window → Package Manager) that you don’t have Advertisements package installed. If its not installed, can your share with me your integration for IAP. Is it only the editor component you have shown above?

the Advertisement 3.4.7 is installed in the package manager.
I also attach print screens with IAP and services.


OK remove Advertisement packman package since you said yourself your not using ads in your project. There is some communication that can take place between these two products that is likely the source of your issue. There might be a regression in the editor integration so I will have the team take a look, but for your case here, I would just remove the Advertisements package.

Starting in Unity 2020.1+ we have better integration between the services window and ads packman package to make this clearer.

2 Likes

Hello,
I am having the same error from yesterday. I have ads and not in purchase.

What’s the solution? It seems to be a Unity issue.

I solve the problem.
I copy the Game IDs for Apple App Store and Google Play Store from the Unity Dashboard into my script (a third party script) even I don’t use Unity Ads or Apple App Store. the error is gone.

3 Likes

My man or woman. You are a genius. This sorted the problem out in seconds after hours of search.

Thank you so much for commenting.

1 Like

Hi Guys,

I see the same error when the app is launched with no internet connection.
How to silent this? For example, I also have AdMob SDK but it’s not throwing an error when there is no internet.

Thanks in advance!

@youbek123

Can you create a new forum thread and provide as much detail as you can about your issue, including the version of the SDK you are using, your Unity version, and an example of your ad integration scripts?