最近搜索


没有最近搜索

Simulate API errors



已于 2023年8月04日 发布

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 条评论

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


请先登录再写评论。

找不到所需的内容?

新建帖子