Hi, there! Iâm newbie in Postman and Iâm having an error iâm unable to solve. Iâve looked already for an answer but I havenât found a topic that could help me.
Iâm trying to launch a test in XML but I always see the same error: âSyntaxError: Unexpected token â<ââ
I suspect that the âSyntaxError: Unexpected token â<ââ error is referring to something that you have in your test tab, as the error message says âsomething went wrong running your scriptâ.
But the 500 server error is likely not related.
Are you sure that the URL you are POSTing to is setup to receive an XML payload? (If you access that URL manually it appears to be an empty PHP file).
Yes, the URL Iâve POST is supposed to receive XML. This test is part of a process for a job vacancy and all the information is exactly as I have received it. Any other guess? Or it is just simply might be something wrong with the tab? This is also my first time writting XML code.