Wrong domain at checkStatus

Hi,
Happy New Year everyone.

I’m geeting the following error in console -

“Wrong domain at checkStatus”

I’m getting this error when asking users to enter a confirmation code along with their email for an ‘invited’ sign up.

Any suggestions?
Regards,
Paul

Hi Paul,

Happy New Year to you too!

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.

Regards,
Mark

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…’

Below network detail of same ‘find’ error.

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.

Hi Paul,

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)

Regards,
Mark

Hi @Paul_HIllen

we have fixed the issue, please check if everything works

Thankyou