Closed simonikook closed 5 months ago
Hi @simonikook,
Can you confirm the <YOUR APP ID HERE>
that is in this log, is correct?
HttpClient: POST apps/<YOUR APP ID HERE>/users - FAILED STATUS: 400
@nan-li so as you can see from the code i sent above, i am inputting the app id correctly in main.dart but on log its still showing
Ohh ok, I see, you are not redacting your data with <YOUR APP ID HERE>
, that is actually the string literal sent.
It looks like in the past, you called OneSignal.initialize("<YOUR APP ID HERE>")
in your app, is this correct?
Because of this, there is a cached request that keeps failing.
Yes that is correct, how do I fix it
On Tue, Apr 16, 2024, 23:42 Nan @.***> wrote:
Ohh ok, I see, you are not redacting your data with
, that is actually the string literal sent. It looks like in the past, you called OneSignal.initialize("<YOUR APP ID HERE>") in your app, is this correct? Because of this, there is a cached request that keeps failing.
— Reply to this email directly, view it on GitHub https://github.com/OneSignal/OneSignal-Flutter-SDK/issues/874#issuecomment-2060028667, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDWF5BZS5476SAZTMCBETCTY5WSM7AVCNFSM6AAAAABGI7VEI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRQGAZDQNRWG4 . You are receiving this because you were mentioned.Message ID: @.***>
just install the app and it worked
thanks
For anyone else having this problem, you need to uninstall your app from your device/simulator and then it will work next time
What happened?
The latest version of the Sdk doesn't initialize AppID
Steps to reproduce?
Code of Conduct