Check the Network tab in the browser’s DevTools and see which request results in that error. Once you find the request, check what domain name the request is sent to. That should give you some clues.
Hi Mark,
Thanks for the help.
The problem appears to come from a call to a table. The requests starts but does not complete. If I run the query in console it works correctly.
App ID - 45F4AD7D-0C9A-4A6A-FF23-2666FDC93000
Query being used is - distanceOnSphere(‘POINT(-2.2426305 53.4807593)’,geoLoc) < mi(2)
Table accessed ‘kitchens’
I’ve set a page ‘producerRegistration4’ to run and hopefully display the same errors.
Below is console with post 400 error followed by the ‘error: wrong domain at checkStatus…’
If I run the page on a moble (Safari iOS) it runs correctly, offering a result but on desktop browser it fails to build the query. (Chrome for mac)
If running on mobile, the geo location is out off view window to the right.
I was able to reproduce the error and narrow it down to what causes it. It seems rather strange and this is something we need to look into. What causes the problem is the Origin header. Here’s a test case that reproduces the problem for me (using Advanced REST Client):
If I remove the header from the request, the API call is going through. I will open an internal ticket to investigate this further. (internal ticket- 30909)