-
Bug
-
Resolution: Duplicate
-
Medium
-
Minor
Issue Summary
When a Forge app is installed and has storage:app in scope and uses Forge Storage, the permissions might not be cached in the same region as the app is installed into. As a result for a short time (maybe about 1 min) the Forge app will throw the error
APIError: Request principal is not authorized to use storage resource
The permissions will eventually synchronise and the app will start to function correctly.
Steps to Reproduce
- Create a Forge app that uses storage
- Install in to a site with `forge install`
Expected Results
The app works correctly.
Actual Results
The below exception is thrown in the Forge logs:
Error: Request principal is not authorized to use storage resource at <anonymous> (webpack://forge/src/index.js:63:13)
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available.