Question:
Getting error
runtimeError: Error: Invalid access token. The token is not issued for the app with ID
Product:
Site Widget created using Wix CLI
What are you trying to achieve:
Call backend api from site widget (custom element), and get app instance and billing details to programatically enable features for various billing mode (Free/Pro)
What have you already tried:
- Calling getAppInstance using elevated function
- Calling getAppInstance without elevated function
- Ensured app id matches the one on app console of wix
Additional information:
I just need to execute some business logic in backend api and send it to front end ie site widget/customelement created using wix cli