Not sure if I've tagged this question correctly, but...
I installed the serverless framework and went through a tutorial to deploy an app. All good. Then I changed into my actual project's directory and tried to do the same. I got some error. I fiddled around and now I'm at the point where I literally cannot run a command of the form serverless ... without seeing this error:
Error: {"errorMessage":"You're not authorized to access this resource. - Please contact support and provide this identifier to reference this issue - GW23VXDFFZXT"}
at _callee$ (/home/josh/new-website/node_modules/@serverless/platform-sdk/src/utils/checkHttpResponse.js:19:9)
at tryCatch (/usr/local/lib/node_modules/serverless/node_modules/regenerator-runtime/runtime.js:63:40)
at Generator.invoke [as _invoke] (/usr/local/lib/node_modules/serverless/node_modules/regenerator-runtime/runtime.js:293:22)
at Generator.next (/usr/local/lib/node_modules/serverless/node_modules/regenerator-runtime/runtime.js:118:21)
at step (/home/josh/new-website/node_modules/@serverless/platform-sdk/dist/utils/checkHttpResponse.js:7:191)
at /home/josh/new-website/node_modules/@serverless/platform-sdk/dist/utils/checkHttpResponse.js:7:361
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Here is my environment information:
Operating System: linux
Node Version: 12.19.0
Framework Version: 2.15.0
Plugin Version: 4.3.0
SDK Version: 2.3.2
Components Version: 3.4.3
I've tried:
- logging out and logging back into serverless ❌
- uninstalling and reinstalling serverless ❌
Even running serverless -v presents me with this error. Any ideas? Thank you!
EDIT: Not sure what the solution was, but I logged out of serverless, created a new account on the website, logged into serverless with that account, and updated the org field in my serverless.yml. It worked after that. Thanks for the answers and comments!