Zendesk ticket creation failing on Android SDK | Community
Skip to main content

Zendesk ticket creation failing on Android SDK

  • June 1, 2021
  • 2 replies
  • 0 views

We are using v5.0.2 of the Android SDK for Zendesk.  We recently noticed that when trying to create a ticket, we are seeing a "Failed to create request" toast.

We observe the following in the logs:

D/RequestActivity: Waiting for attachments to be uploaded. Message Id: 5396121327082817161
Notify if finished. Listener: zendesk.support.request.ActionCreateComment$1@c54bf6b, isUploadFinished: true
Attachments resolved and uploaded. Message Id: 5396121327082817161
D/RequestActivity: Creating a new request. Message Id 5396121327082817161
D/ZendeskSettingsProvider: Successfully retrieved Settings
D/SupportSdkMetadata: Using getTotalMemoryApi() to determine memory
D/SupportSdkMetadata: Using getTotalMemoryApi() to determine memory
D/ZendeskRequestProvider: Adding tags to feedback...
D/ZendeskIdentityStorage: Loading Jwt identity
D/SettingsInterceptor: Proceeding with chain.
D/ZendeskIdentityStorage: Loading Jwt identity
D/ZendeskAccessIntercepto: Access token present, no need to intercept.
D/GsonSerializer: Unable to deserialize the provided object into PushRegistrationRequest

Aside from updating to the latest in March, we really haven't messed with any of our Zendesk code in a really long time.

Any help you could give us would be appreciated!

2 replies

  • Author
  • June 1, 2021

Here is a more complete bug report and possibly highlights the issue better.  Looks like a 422 error...

2021-06-01 12:31:40.003 25204-25204/? D/RequestActivity: Waiting for attachments to be uploaded. Message Id: 4576339712531188027
22021-06-01 12:31:40.003 25204-25204/? D/RequestActivity: Notify if finished. Listener: zendesk.support.request.ActionCreateComment$1@6494ae0, isUploadFinished: true
32021-06-01 12:31:40.004 25204-25204/? D/RequestActivity: Attachments resolved and uploaded. Message Id: 4576339712531188027
42021-06-01 12:31:40.004 25204-25204/? D/RequestActivity: Creating a new request. Message Id 4576339712531188027
52021-06-01 12:31:40.005 25204-25204/? D/ZendeskSettingsProvider: Successfully retrieved Settings
62021-06-01 12:31:40.005 25204-25204/? D/SupportSdkMetadata: Using getTotalMemoryApi() to determine memory
72021-06-01 12:31:40.006 25204-25204/? D/SupportSdkMetadata: Using getTotalMemoryApi() to determine memory
82021-06-01 12:31:40.011 25204-25204/? D/ZendeskRequestProvider: Adding tags to feedback...
92021-06-01 12:31:40.011 25204-25204/? D/ZendeskIdentityStorage: Loading Jwt identity
102021-06-01 12:31:40.014 25204-706/? I/okhttp.OkHttpClient: --> POST https://udemysupport.zendesk.com/api/mobile/requests.json?include=last_comment (733-byte body)
112021-06-01 12:31:40.014 25204-706/? D/SettingsInterceptor: Proceeding with chain.
122021-06-01 12:31:40.015 25204-706/? D/ZendeskIdentityStorage: Loading Jwt identity
132021-06-01 12:31:40.015 25204-706/? D/ZendeskAccessIntercepto: Access token present, no need to intercept.
142021-06-01 12:31:40.015 25204-706/? D/GsonSerializer: Unable to deserialize the provided object into PushRegistrationRequest
152021-06-01 12:31:40.024 25204-25204/? D/InputMethodManager: prepareNavigationBarInfo() DecorView@ac57f90[RequestActivity]
162021-06-01 12:31:40.024 25204-25204/? D/InputMethodManager: getNavigationBarColor() -16711423
172021-06-01 12:31:40.024 25204-25204/? D/InputMethodManager: startInputInner - Id : 0
182021-06-01 12:31:40.024 25204-25204/? I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
192021-06-01 12:31:40.026 25204-25204/? D/InputTransport: Input channel constructed: 'ClientS', fd=266
202021-06-01 12:31:40.026 25204-25204/? D/InputTransport: Input channel destroyed: 'ClientS', fd=280
212021-06-01 12:31:40.994 25204-706/? I/okhttp.OkHttpClient: <-- 422 https://udemysupport.zendesk.com/api/mobile/requests.json?include=last_comment (979ms, 171-byte body)
222021-06-01 12:31:41.089 25204-25204/? D/InputMethodManager: prepareNavigationBarInfo() DecorView@ac57f90[RequestActivity]
232021-06-01 12:31:41.089 25204-25204/? D/InputMethodManager: getNavigationBarColor() -16711423
242021-06-01 12:31:41.089 25204-25204/? D/InputMethodManager: startInputInner - Id : 0
252021-06-01 12:31:41.095 25204-25204/? I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
262021-06-01 12:31:41.097 25204-25204/? D/InputTransport: Input channel constructed: 'ClientS', fd=280
272021-06-01 12:31:41.097 25204-25204/? D/InputTransport: Input channel destroyed: 'ClientS', fd=266
282021-06-01 12:31:41.106 25204-25204/? I/AssistStructure: Flattened final assist data: 4776 bytes, containing 1 windows, 30 views
29

  • July 26, 2021

Hi Vincent!

Sorry we missed this. It looks like this bug has been resolved. Were you still having any issues?
Let me know! I'd be happy to help.