Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command 'PlayCanvas: Add project' resulted in an error #6

Closed
kidcry0x opened this issue Nov 1, 2023 · 8 comments
Closed

Command 'PlayCanvas: Add project' resulted in an error #6

kidcry0x opened this issue Nov 1, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@kidcry0x
Copy link

kidcry0x commented Nov 1, 2023

image

I got this error after selecting the "PlayCanvas: Add Project" command in the VS Code command menu. I entered my PlayCanvas token and username on the extension settings page earlier

@Sceat
Copy link

Sceat commented Nov 1, 2023

Yeah actually that's what I got in #5 thought it was solved but I got the error again so..

@kidcry0x
Copy link
Author

kidcry0x commented Nov 2, 2023

I tried fixing it your way of adding the script and restarting vscode but it still doesn't work :(

@slimbuck
Copy link
Member

slimbuck commented Nov 2, 2023

cc @isumygin-sc

@icameron
Copy link

icameron commented Nov 8, 2023

Not sure if its related but [Extension Host] API call failed: Error: Forbidden shows in the logs

@isumygin-sc
Copy link
Contributor

isumygin-sc commented Nov 10, 2023

the issue is fixed, please reload VS Code and add projects

@Zh-eng-yi
Copy link

I reloaded VS Code and PlayCanvas plugin but still got this error... wondering if anyone is still facing it?

@willeastcott willeastcott added the bug Something isn't working label Jan 11, 2024
@willeastcott willeastcott reopened this Jan 11, 2024
@r-this
Copy link

r-this commented Jan 11, 2024

Not sure if its related but [Extension Host] API call failed: Error: Forbidden shows in the logs

Forbidden suggests bad key or username

I know this sounds obvious but I found my way here researching a fix for what I thought was this issue. Solved my Error: Forbidden by double checking the username I put in the VS Code extension settings exactly matched user from account profile page on PlayCanvas website. Turns out there was a character missing... RTFM type situation 🤭

Hope it helps

@willeastcott
Copy link
Collaborator

willeastcott commented Jan 12, 2024

Closing now that this is logged: #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants