You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ITicketResource to create tickets: ITicketResource ticketResource = GetTicketResource(); ZendeskApi.Contracts.Models.Ticket ticket = CreateTicket(); var result = await ticketResource .PostAsync(new ZendeskApi.Contracts.Requests.TicketRequest {Item = ticket}).ConfigureAwait(false);
If Zendesk returns 'Too Many Requests' 429 response, this call throws HttpException.
But I can't find a way to get response header Retry-After which specifies time to wait before next retry.
Is there any way to get this info using ITicketResource, or should I handle http request/response with Zendesk myself ?
I'm using ZendeskApi.Client v. 2.0.28.
The text was updated successfully, but these errors were encountered:
Hi @gmanvel, I have created a TODO card to investigate this. Our team has recently taken ownership of the repo so it will be integrated into our normal workflow for prioritisation.
I'm using ITicketResource to create tickets:
ITicketResource ticketResource = GetTicketResource(); ZendeskApi.Contracts.Models.Ticket ticket = CreateTicket(); var result = await ticketResource .PostAsync(new ZendeskApi.Contracts.Requests.TicketRequest {Item = ticket}).ConfigureAwait(false);
If Zendesk returns 'Too Many Requests' 429 response, this call throws
HttpException
.But I can't find a way to get response header Retry-After which specifies time to wait before next retry.
Is there any way to get this info using
ITicketResource
, or should I handle http request/response with Zendesk myself ?I'm using ZendeskApi.Client v. 2.0.28.
The text was updated successfully, but these errors were encountered: