Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Simulate API errors



Gepostet 04. Aug. 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 Kommentar

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


Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie finden nicht, wonach Sie suchen?

Neuer Post