Couldn't get response when Permanently Delete User API returns status 429

3 Comments

  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Tokugawa,

    Your best bet would to implement queuing when you're getting close to hitting the rate limit instead of waiting to hit it. I'd suggest taking a look at our best practices for rate limiting.

    Thanks!
    1
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Tokugawa,

    That's very odd, I'm going to dig into this to see why the rate limit headers aren't being exposed via ZAF. I'll touch base with my findings tomorrow.

    Thanks!
    1
  • Tokugawa Yusuke

    Hi Eric,

    Thank you for your suggestion.

    Even though I added the httpCompleteResponse parameter, response header doesn't include X-Rate-Limit nor X-Rate-Limit-Remaining.

    Do you have any idea about this problem?

     

    Source code

    var options = {
        url: '/api/v2/deleted_users/' + userId,
        type: 'DELETE',
        dataType: 'json',
        contentType: 'application/json',
      httpCompleteResponse: true
    };

    Response

    0

Please sign in to leave a comment.

Powered by Zendesk