THAILAND PASS "ERROR IN API SERVER"? HERE'S HOW TO FIX IT.
1st NOVEMBER 2021
Thailand embarrassing efforts at a tourist registration website failed miserably. We've got two things you can do that will ensure you get a "Submitted Successfully" message
Thailand's government IT hacks embarrassed themselves again Monday, rolling out a broken Thailand Pass registration website after a massive buildup and hype about its central role in powering the country's reopening to foreign tourism.
But there's a fix. Read on.
The government's info-tech efforts long have had a putrid reputation for crashes, dysfunction, data leaks and hacks. Thailand Pass surpassed all prior flops.
The system, which replaces the paper certificate of Entry to allow fully vaccinated foreign tourists to enter the country with minimal quarantine and lots of hassle and cost, suffered from its first moments with system timeouts, missing dropdown menus and stupefying design flaws.
The showstopper for nearly everyone was an "advanced programming interface", or API error at final submission. if you managed to make it to the last page, you were thwarted by an error that is the result of piss poor programming. Pure and simple.
Thais coded this web app, so why should they consider anyone who isnt Thai. That apparently was the thinking of the monkeys at the keyboards. They programmed the site to accept Thai government ID card numbers in the passport field, even though passport numbers are shorter.
of course, the site doesn't throw up an error pointing to this flaw, but people figured it out. Put an extra space or two and your application will go through without the dreaded "API SERVER ERROR" message and the loss of all your inputs.
The error in the Thailand Pass app. may also be tied to a very technical problem related to javascript security in your web browser called CORS or "cross origin resource sharing". CORS is blocked in modern browsers by default in their Javascript APIs.
Thailand's crack programmers used the technique anyway, even freshmen web programming students would know better.
One solution is to use Googles Chrome browser to submit your Thailand Pass application, using a free extension called ALLOW CORS.
Thailand Pass 'Error in API Server'? Here's How to Fix It - Bangkok Herald.