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.