Hello.
I'm trying to use the new free dashboard with one of my projects.
When I set the app and tenant in serverless.yml, and at the same time trying to use SERVERLESS_ACCESS_TOKEN as env variable to have the serverless CLI access the dashboard using my credentials, I get this error:
Unhandled rejection Error: {"errorMessage":"Page not found"}
at _callee$ (/opt/atlassian/pipelines/agent/build/node_modules/@serverless/platform-sdk/src/utils/checkHttpResponse.js:19:9)
at tryCatch (/opt/atlassian/pipelines/agent/build/node_modules/regenerator-runtime/runtime.js:45:40)
at Generator.invoke [as _invoke] (/opt/atlassian/pipelines/agent/build/node_modules/regenerator-runtime/runtime.js:271:22)
at Generator.prototype.(anonymous function) [as next] (/opt/atlassian/pipelines/agent/build/node_modules/regenerator-runtime/runtime.js:97:21)
at step (/opt/atlassian/pipelines/agent/build/node_modules/@serverless/platform-sdk/dist/utils/checkHttpResponse.js:7:191)
at /opt/atlassian/pipelines/agent/build/node_modules/@serverless/platform-sdk/dist/utils/checkHttpResponse.js:7:361
at process._tickCallback (internal/process/next_tick.js:68:7)
As there's no way for me to do a sls login in the CI, I choose the env var way, but it seems its not working
Hello. I'm trying to use the new free dashboard with one of my projects. When I set the
app
andtenant
in serverless.yml, and at the same time trying to useSERVERLESS_ACCESS_TOKEN
as env variable to have the serverless CLI access the dashboard using my credentials, I get this error:As there's no way for me to do a
sls login
in the CI, I choose the env var way, but it seems its not working