Search Unity

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

Discussion in 'Unity Ads & User Acquisition' started by toan-stt, Jan 8, 2021.

  1. toan-stt

    toan-stt

    Joined:
    Sep 30, 2013
    Posts:
    11
    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.u...ework=[object Object]&adapter=[object Object]
    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.u...ework=[object Object]&adapter=[object Object]","headers":[],"retryCount":0,"options":{"retries":2,"retryDelay":10000,"followRedirects":false,"retryWithConnectionEvents":true}},"nativeResponse":{"url":"https://publisher-config.unityads.u...ework=[object Object]&adapter=[object Object]","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
     
  2. kyle-unity

    kyle-unity

    Unity Technologies

    Joined:
    Jan 6, 2020
    Posts:
    336
    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 :)