Receiving "Invalid integrationId or platform." when attempting to log in | The place for Zendesk users to come together and share
Skip to main content
Question

Receiving "Invalid integrationId or platform." when attempting to log in

  • October 18, 2024
  • 4 replies
  • 2 views

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?

4 replies

  • Author
  • October 21, 2024

Figured out that I had not passed in an instance of MessagingFactory when initializing the SDK


  • Author
  • October 21, 2024

Looks like I was using the wrong channel ID


Greg29
  • Employee
  • October 21, 2024

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!


Greg29
  • Employee
  • October 21, 2024

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!