alflashy Posted May 8, 2018 Share Posted May 8, 2018 Hi, Its been 4 days we are trying to resolve 406 error for Json and then XML in my first Phase Game. So, the game worked perfectly fine from godaddy shared hosting but as soon as it moved to company site, JSON files get 404. After some tweak some JSON files which are JSON array type created by Leshylab start loading but main Json file which is manually created loading with game.load.json start getting 406 error. Then later tried to convert Json to xml but got same 406 error. Anyone has any idea what going on. I am assuming it xmlhttprequest which may not have right content type or something and I don't know what are other options in Phaser to load JSON. Thanks Link to comment Share on other sites More sharing options...
alflashy Posted May 8, 2018 Author Share Posted May 8, 2018 Compared the Leshylab json array and my json both are some formatted. I thought mine will be json object which may have some issue with xmlhttprequest Link to comment Share on other sites More sharing options...
Recommended Posts