Unable to make API calls in Forge App

Hi @Morgan,

It looks like you are trying to execute this code in the browser in a Custom UI iframe, however, @forge/api is intended for use within Forge functions which execute in the back end, not the browser.

Regards,
Dugald