Recent searches


No recent searches

Simulate API errors



Posted Aug 04, 2023

Hello, I'm struggling to find a way to get a constant response from Zendesk API with specific error. I want it to make sure my app's tests are deterministic and not fragile. I know other services which provide some test data taht triggers specific response errors.

Is there something like that in the Zendesk API? I didn't find it in the documentation but maybe it is not documented yet. I'm interested in Ticketing API right now but actively extend Zendesk's usage.

Thanks in advance!


0

1

1 comment

Found some ways to constantly generate error when creating a ticket:

  • produce invalid data. For example, make subject/first comment short or empty
  • create ticket on behalf of suspended user

 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post