brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.62k stars 2.29k forks source link

Show country name in Brave Rewards' "Region not supported" error #34183

Open waldyrious opened 10 months ago

waldyrious commented 10 months ago

Description

I have been having issues connecting Brave Rewards to my custodial wallet at Uphold, resulting in an error saying the following:

Error: Region currently not supported

Your Uphold account can't be connected to your Brave Rewards profile at this time. Your Uphold account is registered in a country that's not currently supported for connecting to Brave Rewards.

See the current list of supported regions and learn more about connecting a custodial account to Brave Rewards.

Nothing in this error says what the country generating the error is, and to my knowledge, my Uphold country was set to Portugal, which is listed as supported in the list of regions linked from the error message.

After some back and forth with Uphold support I realized that my identity country (citizenship assigned to my account) was set to a different country than my address, which is plausible because I do hold dual citizenship, but I didn't realize because in my Uphold profile only my address is shown (including the country, which is Portugal).

If the error message from Brave Rewards indicated what country was being processed and resulting in the "region not supported" problem, I would have recognized it from my dual citizenship status and would have been able to resolve the issue much faster with Uphold.

Steps to Reproduce

  1. Have an Uphold account with the identity country set to a region not supported by Brave Rewards
  2. Attempt to connect the account to Brave Rewards
  3. Observe the error message

Actual result:

image

Expected result:

image

Reproduces how often:

Always

Brave version (brave://version info)

Miyayes commented 10 months ago

One thing to note is that on the support page that's linked in the message (current list of supported regions and learn more), it says:

How is the country of my custodial account determined? In general, your account country is determined by the country of the ID documents you used during ID verification with your selected account provider. For example:

If you used a driver's license or passport from the United States when registering with Uphold, then your custodial account country will be "United States" (US). If you used a driver's license or passport from Canada, then your custodial account's country will be Canada (CA).

Miyayes commented 10 months ago

May require changes to the rewards-backend.