Skip to content

[$250] [HR Import] Handle 429 Merge daily sync limit error with popup #91426

@melvin-bot

Description

@melvin-bot

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

Image

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

Metadata

Metadata

Assignees

Labels

DailyKSv2EngineeringInternalRequires API changes or must be handled by Expensify staff

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions