There is an error in your curl command. The response you are getting is not an error, it is the response to the command you issued.
Your command starts with curl -V
The response you are seeing is the curl version info which you read with curl -V
I assume you want verbose mode, which is curl -v