Recent searches
No recent searches
Receiving "Invalid integrationId or platform." when attempting to log in
Posted Oct 18, 2024
I'm integrating the Messaging SDK to our Android app, where we will eventually move away from the old Chat SDK. I've received a JWT and I'm now attempting to call Zendesk.instance.login(jwt), but it fails. The response has this error body:
{"error":{"code":"bad_request","description":"Invalid integrationId or platform."}}
I've followed steps here: https://developer.zendesk.com/documentation/zendesk-web-widget-sdks/sdks/android/advanced_integration/
What does this error mean?
0
4
4 comments
ludovic lang
Figured out that I had not passed in an instance of MessagingFactory when initializing the SDK
0
ludovic lang
Looks like I was using the wrong channel ID
0
Greg Katechis
Hi Ludovic!
Could you check to see if your account is both using messaging and has the SDK client set up with JWT authentication as opposed to anonymous auth? I'm not super familiar with this error message, so I'm doing a bit of guessing here, but let me know if those are in place. If you are using messaging with an SDK client that uses JWT auth, let me know and we'll dig in some more!
0
Greg Katechis
Whoops, I just saw that you already replied to this, sorry about that! Glad to see you've got it working though and thanks for the update so I know what to look for in the future!
0