The request could not be understood by server due to malformed syntax.
I needed to export one of my APEX application page to deploy it on another APEX environment.
But it raised this error: BAD REQUEST, malformed syntax.
It’s not self explanatory. Hard to understand what’s wrong at first glance. I checked .sql file to see if there is an ascii character, a non-unicode string and so on.
Better check your application logs
If you see an error like this and have used WIZARD template, perhaps the easiest work-around is: remove wizard region, export again, then import.