Olá, estou no curso Serverless com Node.js: Aplicações eficientes na cloud, seguindo o passo a passo para utilizar o sls offline recebi esse erro, como ilustrado, eu tinha acabado de ter sucesso no login... Alguma ideia do que possa estar causando isso? Resolvi abrir aqui antes de abrir email para o suporte do framework.
$ rm -rf ~/.serverlessrc
$ sls login
Running "serverless" from node_modules
(node:951) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
Logging into the Serverless Dashboard via the browser
If your browser does not open automatically, please open this URL:
https://app.serverless.com?client=cli&transactionId=SrbWehlBAPjOzDViBBPJk
✔ You are now logged into the Serverless Dashboard
$ sls offline
Running "serverless" from node_modules
(node:1068) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
Environment: linux, node 16.20.2, framework 3.24.1 (local) 3.35.2v (global), plugin 6.2.2, SDK 4.3.2
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues
Error:
Error: You're not authorized to access this resource. - Please contact support and provide this identifier to reference this issue - QZ890V14BTD3
at Object.request (/mnt/c/Users/paull/workspace/2753-serverless-node/node_modules/@serverless/platform-client/src/utils.js:64:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async createAccessKeyForOrg (/mnt/c/Users/paull/workspace/2753-serverless-node/node_modules/@serverless/dashboard-plugin/lib/client-utils.js:21:18)
at async getOrCreateAccessKeyForOrg (/mnt/c/Users/paull/workspace/2753-serverless-node/node_modules/@serverless/dashboard-plugin/lib/client-utils.js:53:28)
at async getPlatformClientWithAccessKey (/mnt/c/Users/paull/workspace/2753-serverless-node/node_modules/@serverless/dashboard-plugin/lib/client-utils.js:63:21)
at async module.exports.configureDeployProfile (/mnt/c/Users/paull/workspace/2753-serverless-node/node_modules/@serverless/dashboard-plugin/lib/deploy-profile.js:26:15)
at async ServerlessEnterprisePlugin.asyncInit (/mnt/c/Users/paull/workspace/2753-serverless-node/node_modules/@serverless/dashboard-plugin/lib/plugin.js:394:7)
at async Promise.all (index 57)
at async Serverless.init (/mnt/c/Users/paull/workspace/2753-serverless-node/node_modules/serverless/lib/serverless.js:138:5)
at async /mnt/c/Users/paull/workspace/2753-serverless-node/node_modules/serverless/scripts/serverless.js:607:7