You are viewing limited content. For full access, please sign in.

Question

Question

Forms Modern Designer - CORS Requests

asked 19 hours ago

I have a form created in Forms Version 12 using the modern designer.  I am attempting to call a third-party API using a fetch request.  I am getting an error message that null is not a valid origin.  When inspecting the request in the browser F12 tools, the Origin header being sent has a value of null.  

 

Is there a way to resolve this issue so the Origin header on the request has a value?

0 0

Replies

replied 19 hours ago

There is currently no solution for the modern designer as the JS runs in a sandboxed iframe.  It is possible to avoid this error by using the classic designer as the JS runs directly on the form and the origin is the same as the server address rather than null.  According to this answers post, it is a known issue and is on 'the list' to correct but no ETA at this time.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.