I am working on an app to try to get our service back to where it was before we migrated to cloud.
I have an app that needs to store some meta data on the env during install. (webhook URLs,field ids etc.)
Storage was working with set and get then it started to fail. I created another test app and it also fails.
The errors where authorisation errors.
ERROR 10:24:28.411 64fbb417a9412a1b Request principal is not authorized to use storage resource
Error: Request principal is not authorized to use storage resource
at Function.forErrorCode (webpack://jira-admin-page-ui-kit/node_modules/@forge/storage/out/errors.js:33)
at assertNoErrors (webpack://jira-admin-page-ui-kit/node_modules/@forge/storage/out/global-storage.js:9)
at GlobalStorage.mutation (webpack://jira-admin-page-ui-kit/node_modules/@forge/storage/out/global-storage.js:94)
at async GlobalStorage.set (webpack://jira-admin-page-ui-kit/node_modules/@forge/storage/out/global-storage.js:59)
at async /tmp/tunnel7fJyktNjR3Qpw/index.js:30415:67
at async /tmp/tunnel7fJyktNjR3Qpw/index.js:1656:21
at async asyncMap (webpack://jira-admin-page-ui-kit/node_modules/@forge/ui/out/reconcile.js:12)
at async /tmp/tunnel7fJyktNjR3Qpw/index.js:1608:29
at async /tmp/tunnel7fJyktNjR3Qpw/index.js:1076:31
The manifest is:
modules:
jira:adminPage:
- key: tempapp-hello-world-admin-page
function: main
title: tempapp
function:
- key: main
handler: index.run
app:
id: ari:cloud:ecosystem::app/bf5db236-028c-4e48-bdce-62e6b755eaed
permissions:
scopes:
- storage:app
Has my storage privilages been revoked?
I am admin for the sight.
The site is a sandbox: cccswisskrono-sandbox-529.atlassian.net