Anybody know why I might be getting this error when requesting peers on port 4001?

curl -X GET http: { "error" : "should have required property 'port'" , "success" : false }