Unable to get the exact error reason for the failed phone number verification request #1998
Labels
status: blocked
The issue is blocked from progressing, waiting for another piece of work to be done.
type: enhancement
The issue is a request for an enhancement.
Describe the bug:
It's a follow-up for us to occasionally revisit if the exact error reason is returned in the future.
Originally, if a phone number verification request fails, the
reason
field in the response body provides a clear code. For example,"rateLimitExceeded"
.However, currently, Google's Content API for Shopping returns unclear reason, making it impossible to distinguish the actual cause of the error.
On GLA side, the response body of API results in:
Steps to reproduce:
/wp-admin/admin.php?page=wc-admin&subpath=%2Fedit-phone-number&path=%2Fgoogle%2Fsettings
gla/mc/phone-verification/request
on the Network tab.If someday the
reason
value is "rateLimitExceeded" or "badRequest" and themessage
is clearer, maybe then this issue can be solved.Expected behavior:
Show the exact error reason for the failed phone number verification request.
Actual behavior:
Unable to get the exact error reason for the failed phone number verification request.
Additional details:
Found this issue while working on #1101
The text was updated successfully, but these errors were encountered: