Resolving HTTP 429 Error

Learn how to resolve the HTTP 429 error caused by refreshing invoice data multiple times.

Issue

The service "Xero API - Get Invoices by Status" returned an error (HTTP 429). This error indicates that too many requests were made to the Xero API in a short period.

Reason

This error typically occurs when the Refresh button is clicked multiple times (e.g., three or more) in rapid succession, exceeding the API request limit.

Solution

To resolve this issue:

  1. Wait for the Limit to Reset:

    • The Xero API temporarily blocks requests when the rate limit is exceeded.

    • Wait for a few minutes (5–10 minutes recommended) to allow the limit to reset automatically.

  2. Retry the Request:

    • After waiting, click the Refresh button again to fetch the invoice data.

    • Avoid multiple clicks to prevent exceeding the limit again.

  3. Optimize Usage:

    • Use the Refresh feature sparingly to avoid overloading the API with requests.

Additional Support

If the error persists after waiting, contact Stagepay Support for assistance in resolving the issue.

Prevention Tip

To avoid this error, allow the API sufficient time to process your requests and avoid repeated clicks when refreshing data.

Did this answer your question?
😞
😐
😁