BranchMetrics / sdk-release

TUNE iOS, Android, and Windows native SDKs
https://developers.tune.com/sdk/quick-starts/
GNU General Public License v3.0
56 stars 46 forks source link

iOS: site_id not found #52

Open mdelamata opened 4 years ago

mdelamata commented 4 years ago

Hi,

I have followed all the instructions for integrating this library, but I get this after inspecting the api call when requesting if there is any deferred deeplink available.

{"code":400,"message":"cannot determine site_id"}

Could you help me with this, please?

echo-branch commented 4 years ago

That indicates your credentials are being rejected. Either the Tune advertiser id or Tune conversion key is incorrect. Or you haven't called the init method.

+ (void)initializeWithTuneAdvertiserId:(nonnull NSString *)aid tuneConversionKey:(nonnull NSString *)key;

If you're pretty certain you're credentials are correct, please contact the Branch support team so we can check on the server side.