Axios is not defined error in extension
Hi
I've created an extension in which i am using axios. In the Resources tab i've also linked the source url for axios “https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js”
However. when the journey is executing, it is failing to execute this extension with an error axios is not defined. Attached screenshots


0
-
Hi Sunil,
This issue is caused by CORS policy restrictions. To resolve it, please add a navigation step to the same domain before triggering the API call or extension. This ensures the necessary context is established, allowing the call to succeed.
0
Please sign in to leave a comment.
Comments
1 comment