Now, I have a Flutter application that is the sour...
# support
w
Now, I have a Flutter application that is the source, and I'm using AppsFlyer as the destination. The events are not working for AppsFlyer; I receive the following error: "error": "Appsflyer id is not set. Rejecting the event."
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
k
Have you connected the destination as a device mode one ?
w
I've tried using both device mode and cloud mode, but the event consistently fails.
k
What is the error that you are seeing for device mode ?
w
For device mode, I'm unable to see the error because I can't track live events.
k
Can you try setting the log level to verbose and check if Appsflyer SDK is printing any error logs ?
w
How to do that?
k
Set the log level of the Flutter SDK to verbose and that would do the work
w
I didn't receive any more information from the logger.
I have only this error:
Copy code
"error": "Appsflyer id is not set. Rejecting the event"
k
Appsflyer Id is required to send data to Appsflyer Servers only when the destination is connected through cloud mode. Hence, the above error you shared is when you are connected with the destination via cloud mode. You can refer here for setting up Appsflyer Id for Cloud Mode. In case of device mode you are not required to set any Id, as the Appsflyer SDK itself is available in the app. If you are unable to see any logs even after setting the log level to verbose, try running the app from Android studio / Xcode.