Unable to call elevated function from Wix Site Widget

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:

  1. Calling getAppInstance using elevated function
  2. Calling getAppInstance without elevated function
  3. 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

Wix team, or community, any updates on this? I am running in the same issue which is bringing progress on my app to a standstil…