Search code examples
iosobjective-csdkappsflyerappsflyer-ios-sdk

AppsFlyer SDK iOS integration error Code=3840 "No value."


I've integrated the AppsFlyer SDK but continuously getting the following error:

It calls the following delegate func

-(void)onConversionDataFail:(NSError *) error {
  NSLog(@"%@",error);
}

And the console output is the following:

Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value.}

I'm using the latest pod, and have configured the app accordingly to AppsFlyer tutorial:

[AppsFlyerLib shared].appsFlyerDevKey = @"<AF_DEV_KEY>";
[AppsFlyerLib shared].appleAppID = @"<APPLE_APP_ID>";
[AppsFlyerLib shared].delegate = self;

[[NSNotificationCenter defaultCenter] addObserver:self
     selector:@selector(sendLaunch:)
     name:UIApplicationDidBecomeActiveNotification
     object:nil];

- (void)sendLaunch:(UIApplication *)application {
    [[AppsFlyerLib shared] start];
}

<AF_DEV_KEY> and <APPLE_APP_ID> replaced with my app id in real code

Could you please suggest how to fix the issue?

Thank you!


Solution

  • I've resolved the problem. It was related to AppsFlyer "Zero" plan that doesn't support mobile attribution. After switching to paid plan the problem got resolved.

    It was also returning "403" error