This is the first time I have had any issues publishing:
(master) 位 vsce publish (vscode-seeing-is-believing) 12:54:41
Publishing [email protected]...
Error: Invalid Resource
(master) 位 vsce --version (vscode-seeing-is-believing) 12:54:56
1.29.0
cc @modigrv
@joaomoreno I checked there has been no call to Marketplace via Vsce tool for the publisher identity of the vscode-seeing-is-believing extension . Can you please check that whether this error is from vsce tool itself?
Invalid Resource doesn't seem to be an error which comes from the tool itself. Here's what happens after Publishing [email protected]...:
https://github.com/Microsoft/vscode-vsce/blob/master/src/publish.ts#L59
@brandoncc This error is being thrown because the PAT used for publishing is no longer valid.
You can create a new PAT to authenticate the publish - https://www.visualstudio.com/en-us/docs/setup-admin/team-services/use-personal-access-tokens-to-authenticate#create-personal-access-tokens-to-authenticate-access
You can pass PAT as a parameter in the publishing step via a -p or -pat option in the vsce tool.
Thank you both for taking the time to help me. I totally forgot my PAT would expire!
@modigrv Could we get a better error message from the service?
Most helpful comment
@modigrv Could we get a better error message from the service?