fetch function does not work with Js objects
fetch presents a security risk, hence we have disabled it. Today, users are writing their own JS. But in the future, we’ll allow users to import other JS libraries & copy from snippets. fetch is dangerous because it will silently invoke network endpoints that the user may not be aware of.
Instead, create an API and call that with an Execute a Query action on some event.