{"error":"request conflicts with the configuration - mismatched platform"}

Hello,
I update my unity for an old game and I got the error: Could you help to fix it, please?

Error:
01-08 14:42:21.618 22373-23753/game.my.defender I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:84) :: Requesting configuration from https://publisher-config.unityads.unity3d.com/games/33675/configuration?deviceMake=Sony&screenDensity=240&screenSize=268435555&idfi=7d829c98-6fba-49f7-a9c3-125de83a9d0e&advertisingTrackingId=c9a55e46-a837-401f-b6b2-933d00eaf6d5&limitAdTracking=false&connectionType=wifi&screenHeight=720&screenWidth=1217&bundleId=game.my.defender&encrypted=false&rooted=false&platform=android&sdkVersion=3500&osVersion=5.1.1&deviceModel=D2502&language=vi_VN&test=true&analyticsUserId=876860cdc7764af9da9460e7f0bf0a24&analyticsSessionId=3519282091886422045&first=false&framework=[object%20Object]&adapter=[object%20Object]
01-08 14:42:22.043 22373-23753/game.my.defender E/UnityAds: com.unity3d.services.core.api.Sdk.logError() (line:72) :: Game Configuration Request Failed: {“message”:“FAILED_WITH_ERROR_RESPONSE”,“nativeRequest”:{“method”:0,“url”:“https://publisher-config.unityads.unity3d.com/games/33675/configuration?deviceMake=Sony&screenDensity=240&screenSize=268435555&idfi=7d829c98-6fba-49f7-a9c3-125de83a9d0e&advertisingTrackingId=c9a55e46-a837-401f-b6b2-933d00eaf6d5&limitAdTracking=false&connectionType=wifi&screenHeight=720&screenWidth=1217&bundleId=game.my.defender&encrypted=false&rooted=false&platform=android&sdkVersion=3500&osVersion=5.1.1&deviceModel=D2502&language=vi_VN&test=true&analyticsUserId=876860cdc7764af9da9460e7f0bf0a24&analyticsSessionId=3519282091886422045&first=false&framework=[object%20Object]&adapter=[object%20Object]","headers”:[ ],“retryCount”:0,“options”:{“retries”:2,“retryDelay”:10000,“followRedirects”:false,“retryWithConnectionEvents”:true}},“nativeResponse”:{“url”:“https://publisher-config.unityads.unity3d.com/games/33675/configuration?deviceMake=Sony&screenDensity=240&screenSize=268435555&idfi=7d829c98-6fba-49f7-a9c3-125de83a9d0e&advertisingTrackingId=c9a55e46-a837-401f-b6b2-933d00eaf6d5&limitAdTracking=false&connectionType=wifi&screenHeight=720&screenWidth=1217&bundleId=game.my.defender&encrypted=false&rooted=false&platform=android&sdkVersion=3500&osVersion=5.1.1&deviceModel=D2502&language=vi_VN&test=true&analyticsUserId=876860cdc7764af9da9460e7f0bf0a24&analyticsSessionId=3519282091886422045&first=false&framework=[object%20Object]&adapter=[object%20Object]“,“response”:”{"error":"request conflicts with the configuration - mismatched platform"}\n”,“responseCode”:409,“headers”:[[“X-Origlength”,“75”],[“X-Android-Sent-Millis”,“1610084541870”],[“Vary”,“Accept-Encoding”],[“Via”,“1.1 google”],[“Content-Type”,“application/json”],[“X-Service”,“ads-game-configuration”],[“Alt-Svc”,“clear”],[“Date”,“Fri, 08 Jan 2021 05:42:17 GMT”],[“Transfer-Encoding”,“chunked”],[“X-Android-Response-Source”,“NETWORK 409”],[“Access-Control-Allow-Origin”,“*”],[“X-Android-Received-Millis”,“1610084542023”]]}}
01-08 14:42:22.056 22373-23545/game.my.defender E/UnityAds: com.unity3d.services.core.configuration.InitializeThread$InitializeStateCreate.execute() (line:456) :: Unity Ads SDK fail to initialize due to configuration error
01-08 14:42:22.057 22373-23545/game.my.defender E/UnityAds: com.unity3d.services.core.configuration.InitializeThread$InitializeStateError.execute() (line:495) :: Unity Ads init: halting init in create webapp: Unity Ads SDK fail to initialize due to configuration error
01-08 14:42:22.058 22373-23545/game.my.defender E/UnityAds: com.unity3d.services.core.configuration.InitializationNotificationCenter.triggerOnSdkInitializationFailed() (line:62) :: SDK Failed to Initialize due to Unity Ads SDK fail to initialize due to configuration error
01-08 14:42:22.064 22373-23753/game.my.defender E/UnityAds: com.unity3d.services.core.api.Sdk.logError() (line:72) :: Initialization error: Unity Ads SDK fail to initialize due to configuration error

It looks like you’re trying to initialize the SDK on Android with your project’s iOS game ID. It could be that updating Unity affected some of your checks when setting up the SDK? Make sure you pass the correct Android ID when calling Initialize and this should be resolved :slight_smile:

1 Like