Potential bug with Android Support SDK article search | Community
Skip to main content

Potential bug with Android Support SDK article search

  • January 25, 2024
  • 0 replies
  • 0 views

Tom26

I'm seeing intermittent issues with the Android support SDK returning successful responses but with empty bodies.

Version details are as follows:

zendesk = { group = "com.zendesk", name = "support", version.ref = "zendesk" }
version = "5.2.0"
Also reproduced on 5.1.0

I'm calling HelpCenterProvider.getCategories(callback: ZendeskCallback) as part of our article navigation flow and lately it's been acting up. It especially seems to exacerbate after switching to a different language using "helpCenterLocaleOverride".

It doesn't appear to be a rate limiting issue since docs mention that any rate limit errors should hit an error flow with a "429 Too Many Requests" message, which would then likely hit the "onError" flow in my ZendeskCallback.

https://developer.zendesk.com/documentation/classic-web-widget-sdks/support-sdk/android/rate_limiting/

Rather what's happening is we hit "onSuccess(result: List<Category>?)" with a non-null but empty list.

Thank you in advance.