Invalid XML when creating target

Hello, everyone.

I’ve been having problems trying to create a target using the gvm-cli. I get the “Invalid XML” message, and I can’t seem to figure out what the problem is. Can anyone help?

This is the XML code I’m trying to use. It’s on a file for simpler reading, but I’m passing it as a string without the new lines.

Any help is very appreciated.

Solved. Same problem as Gvm-cli create a target

2 Likes