I have some information obtained from another website, not my own experience, maybe you can try ...." I submitted successfully now the application and received a confirmation email. Here is what I did...but as the app breaks here and there it is not guaranteed it would work for everyone
I tried tens of times with Firefox and Chrome (without VPN and with US terminated VPN) and was getting the same API error. Looked here and at various FB forums, and someone mentioned cross origin issues (I think "Triglav"? ) and I decided to have a look. Delved into the Chrome DevTools and there were heaps of CORS blocks.
Next step I installed the "Allow CORS" extension for Chrome, enabled the plugin, restarted Chrome, filled in everything again and resubmitted. No API error this time, but a "duplicate passport number". Went back a few pages, put a blank after the passport number, uploaded again my insurance info (removes the uploaded file every time on failure) and resubmitted again. Success! Got a confirmation email as well."
"So I went and installed 'Allow CORS' chrome extension but it didn't work for me so I installed another one called 'CORS Unblock'. This allows me to submit my details but I got an error saying 'Passport already used', so I went back and added a space at the end of my passport and it worked!!! "
I got this in response to my email to Phuket Government, "- If you would like to get ATK the 2nd swab test, you can contact the hotel directly, as they will be in charge of testing ATK for the guest.