We've recently updated the backend logic for handling SMS delivery failures to use progressive backoff durations instead of a fixed 24-hour block. Along with this change, the resetSMSDeliveryFailureStatus API response now always includes a hasSMSDeliveryFailure boolean to indicate whether the user is still blocked from receiving SMS messages.
The current frontend logic in SMSDeliveryFailurePage checksaccount?.smsDeliveryFailureStatus as a truthy object and also depends on a field called isReset. The resetSMSDeliveryFailureStatus response does not include an isReset field, so not sure where it's coming from. We need to rely solely on hasSMSDeliveryFailure to block the user from signing in or not. If it resets successfully, make sure to not automatically trigger SMS sending upon reset success. The user should explicitly click to send the code again with smsDeliveryFailurePage.validationSuccess
Successful reset (user is no longer blocked):
{
"hasSMSDeliveryFailure": false
}
Failed reset (user still blocked):
{
"hasSMSDeliveryFailure": true,
"message": {
"days": 1,
"hours": 2,
"minutes": 30
}
}
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021903286530651681051
- Upwork Job ID: 1903286530651681051
- Last Price Increase: 2025-03-22
- Automatic offers:
- suneox | Reviewer | 106654064
Issue Owner
Current Issue Owner: @alexpensify
We've recently updated the backend logic for handling SMS delivery failures to use progressive backoff durations instead of a fixed 24-hour block. Along with this change, the
resetSMSDeliveryFailureStatusAPI response now always includes ahasSMSDeliveryFailureboolean to indicate whether the user is still blocked from receiving SMS messages.The current frontend logic in
SMSDeliveryFailurePagechecksaccount?.smsDeliveryFailureStatusas a truthy object and also depends on a field calledisReset. TheresetSMSDeliveryFailureStatusresponse does not include anisResetfield, so not sure where it's coming from. We need to rely solely onhasSMSDeliveryFailureto block the user from signing in or not. If it resets successfully, make sure to not automatically trigger SMS sending upon reset success. The user should explicitly click to send the code again withsmsDeliveryFailurePage.validationSuccessSuccessful reset (user is no longer blocked):
Failed reset (user still blocked):
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alexpensify