We’ve been getting reports of:

Wallet reported an internal error. Message: Something went wrong while fetching balance: oauth2: cannot fetch token: 401 Unauthorized

Response: {"error":"invalid_grant","error_description":"The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client"}

Reply to this note

Please Login to reply.

Discussion

that's not a NWC error. where do you use the OAuth API?

we don’t, its just an NWC error a user sent to us.

It says internal error so maybe its getting propagated somehow?

ok. thanks.

a user or multiple ones?

assuming it's the Alby Hub I think that user has an issue with his Alby Account. They could remove/refresh it in the settings.

What do you think the best way is to help users in these scenarios? A link to a help page or something?

Is that more than one user?

and the user who answered here seems to get a pretty clear error message:

nostr:nevent1qvzqqqqqqypzp34423jxxal3z8lh488hares4dyg67nu9mnllpwvgj68lc6hhsn2qqsqcvxfq7rmqpgvyq2ur8rfutr7mlsc4pqz90fqvvw8vynwar2pzkg6py39r

Got a burst of reports around the unauthorized error, there was a few more on the network i will try to find them

what’s a burst? I don’t think I got any.

And I also think they would see something in the interface.

The date of my last zap, matches my last update. I updated Damus. I just noticed that the automatic translation is also not working.. I haven’t looked at the settings yet!

I followed the instructions... delete the wallet and include a second time. I waited for a few hours and tried once more... same mistake!

what did you delete?

and where does it say to delete something?

I received your Zap, now I just can’t send it!

You did not link a wallet to your Alby Account as it says when you login or on that page you see in the error message.

So I don’t know how to do it, you need to remember that I’m a normal user, not a technician! Before it worked without problems.. something has changed and I’m trying to reverse without success! Do you have any updated tutorials?

I know nostr and bitcoin are still early and hard, and you need to remember I can not provide such detailed consulting and you use free services.

I think if you follow the instructions there are links to guides and also please search on nostr and google.

I followed... I’ve already done all the steps! Don’t worry about consulting, I realized now that it’s from Alby, I thought I was just trying to help! No problem... I’ll solve it here!

You have to configure a wallet. If you want a self-custodial wallet then Alby Hub is for you. If not then use something else.

self-custody is more complicated (requires channels and such)

- do your own research.

Ok Tks