Description
We need to handle the HTTP 429 error response from the Merge API when the daily sync limit is reached, and display an appropriate popup to the user.
Error Details
When the daily sync limit is exceeded, the auth-via-api endpoint returns:
{
"jsonCode": 429,
"message": "429 Merge daily sync limit reached, try again tomorrow",
"source": "auth-via-api",
"onyxData": [],
"requestID": "9ffbe2dfba19ae4b-LAX"
}
Design
The popup design is available in Figma:
https://www.figma.com/design/cSAzrV7arFMJ62Ao1St8Qh/Merge.dev-Integration?node-id=16-5946&t=LaBrBcneCC0kpL8I-0
Requirements
- Detect the 429 response from auth-via-api
- Display popup matching the Figma design
- Inform user to try again tomorrow
- Gracefully handle the rate limit state
Upwork Automation - Do Not Edit
Description
We need to handle the HTTP 429 error response from the Merge API when the daily sync limit is reached, and display an appropriate popup to the user.
Error Details
When the daily sync limit is exceeded, the auth-via-api endpoint returns:
{ "jsonCode": 429, "message": "429 Merge daily sync limit reached, try again tomorrow", "source": "auth-via-api", "onyxData": [], "requestID": "9ffbe2dfba19ae4b-LAX" }Design
The popup design is available in Figma:
https://www.figma.com/design/cSAzrV7arFMJ62Ao1St8Qh/Merge.dev-Integration?node-id=16-5946&t=LaBrBcneCC0kpL8I-0
Requirements
Upwork Automation - Do Not Edit