Hi, I have a game deployed on facebook that uses WWW to get data from a python script hosted on AWS. I have setup CORS in the header response but still getting “Unknown error.” response in www.error. Still haven’t been able to find a fix. What else can cause this issue? Cheers!
Try posting both, the url of the request, and the link to your game on facebook here, then someone could take a look.
Hi Jonas, here’s an example of the URLs
Game is hosted on: https://apps.facebook.com/123456789 <= Random Id
At start it calls the URL: https://server.mygame.com/get/ <= To Get the Data
The return of the call is Unknown error.
this is probably what other people are getting
even though CORS is setup. Any thoughts?
So It appears that custom header weren’t allowed on the server end. Which has been fixed. Now another error I am getting is. When fetching a file from server, I am getting this
The Same Origin Policy disallows reading the remote resource at https://dev.mydummygame.com/get/game.db
(Reason: CORS header ‘Access-Control-Allow-Origin’ missing)
even though the value of Access-Control-Allow-Origin is set to *
has this something to do with subdomains? It’s been like 2 weeks and i am still unable to fix this issue
How did you fix this issue?