Device registration - 400 Bad request

I have a Zyxel router that cant register in genieacs.

I used tcpdump to get Zyxel request and TPLink Request.

I can see that the first line of the xml is missing in Zyxel request, can this be what is causing the error? Is there any genieacs configuration that allows the Zyxel request?

I use geniacs v1.1 and v1.2.