You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Uphold account has gotten in an interesting state. Originally, this problem started happening when I renamed the Brave Browser card in Uphold and tried to disconnect.
Steps to Reproduce
Get into this weird state. May require you to try the following:
a. Connect Uphold wallet in rewards
b. Rename Brave Browser card as Browser
c. Disconnect wallet in rewards
d. Connect Uphold wallet again in rewards
e. A new Brave Browser card is created
f. Rename Brave Browser card as DELETE ME
g. Rename Browser card as Brave Browser
Go to brave://rewards
Click Wallet Verified button; pick Disconnect from Brave Rewards
Actual result:
When verbose logging is enabled (brave://flags/#brave-rewards-verbose-logging), I get the following logs:
[ REQUEST ]
> URL: https://grant.rewards.brave.com/v3/wallet/uphold/payment-id-goes-here/claim
> Method: DEL
> Content Type: application/json; charset=utf-8
> Header digest: SHA-256=SHA-GOES-HERE
> Header signature: keyId="key-id-goes-here",algorithm="ed25519",headers="digest (request-target)",signature="signature-goes-here"
> Header accept: application/json
[Jul 13, 2021, 11:17:50.6 AM:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://grant.rewards.brave.com/v3/wallet/uphold/payment-id-goes-here/claim
> Result: Failure
> HTTP Code: 500
> Body: {"message":"failed to disconnect custodian link: unable to disconnect custodian wallet: should have updated at least one wallet with disconnected custodial","code":500}
[Jul 13, 2021, 11:17:50.6 AM:ERROR:delete_claim.cc(71)] Internal server error
[Jul 13, 2021, 11:17:50.6 AM:ERROR:wallet.cc(136)] Wallet unlinking failed
Since I'm stuck in this state, the only option I have is to reset rewards completely:
Expected result:
Wallet should disconnect; or if not connected on server side we should disconnect the client side (invalidate token if needed).
Reproduces how often:
Not sure if 100% reproduceable from steps above; but my profile is in this state
@husobee had a fix for this on the backend; basically, the delete operation (being submit by client) was being met with a 500 error. The client then would not continue disconnecting. After the fix, a 500 is not sent and client properly disconnects
Looks like the fix is working 👍 I originally ran into #16929 (comment) several times when creating new wallets and logging into Uphold. Once the wallet was linked, I couldn't disconnect and ran into the following:
[ RESPONSE - OnRequest ]
> Url: https://grant.rewards.brave.com/v3/wallet/uphold/92baf00b-847f-42e3-84a3-5d884f7d321f/claim
> Result: Failure
> HTTP Code: 500
> Body: {"message":"failed to disconnect custodian link: unable to disconnect custodian wallet: should have updated at least one wallet with disconnected custodial","code":500}
Once @husobee pushed the fix as per #16929 (comment), I'm now able to disconnect without running into the above. Used the following build for verification:
Brave | 1.29.8 Chromium: 92.0.4515.101 (Official Build) nightly (64-bit)
--- | ---
Revision | edb73f4fb624e2ea0cb6f5cc39c9e317ecd3535b-refs/branch-heads/4515@{#1536}
OS | Windows 10 OS Version 2009 (Build 19042.1083)
Description
My Uphold account has gotten in an interesting state. Originally, this problem started happening when I renamed the
Brave Browser
card in Uphold and tried to disconnect.Steps to Reproduce
a. Connect Uphold wallet in rewards
b. Rename
Brave Browser
card asBrowser
c. Disconnect wallet in rewards
d. Connect Uphold wallet again in rewards
e. A new
Brave Browser
card is createdf. Rename
Brave Browser
card asDELETE ME
g. Rename
Browser
card asBrave Browser
Wallet Verified
button; pickDisconnect from Brave Rewards
Actual result:
When verbose logging is enabled (brave://flags/#brave-rewards-verbose-logging), I get the following logs:
Since I'm stuck in this state, the only option I have is to reset rewards completely:
Expected result:
Wallet should disconnect; or if not connected on server side we should disconnect the client side (invalidate token if needed).
Reproduces how often:
Not sure if 100% reproduceable from steps above; but my profile is in this state
Brave version (brave://version info)
The text was updated successfully, but these errors were encountered: