Vscode-vsce: Improve "Invalid Resource" error message in case of expired/invalid PAT

Created on 12 Oct 2017  路  3Comments  路  Source: microsoft/vscode-vsce

While attempting to publish a package after a long time of inactivity I today I got:

Error: Invalid Resource

Luckily this issue has been already discussed here, so I was able to quickly find the answer for the problem (#196, #198, #200). IMHO the message is vague, and it should simply say that invalid token is provided.

I saw @joaomoreno comment and I checked issues for an issue about fixing this message, but with no luck. It might be possible that I have missed it, in case it was not yet fixed we could track it here.

bug

All 3 comments

Fixed in 1.31.1

Thanks @joaomoreno, @mlewand. Ran into this just now and the error message was helpful :)

Why not use an aka.ms url instead of http://tinyurl.com/y8djp2nl?

Oh yeah... I actually did this but that yielded nothing interesting... doh!

https://github.com/Microsoft/vscode-vsce/commit/405f73ea98970a17bc5262fae0a40a740b5469f0

Was this page helpful?
0 / 5 - 0 ratings