You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Dan Kirkwood (JIRA)" <ji...@apache.org> on 2017/06/20 22:53:00 UTC

[jira] [Created] (TC-400) incomplete error message from TO api

Dan Kirkwood created TC-400:
-------------------------------

             Summary: incomplete error message from TO api
                 Key: TC-400
                 URL: https://issues.apache.org/jira/browse/TC-400
             Project: Traffic Control
          Issue Type: Improvement
          Components: Traffic Ops API
    Affects Versions: 2.1.0
         Environment: from command line:
   curl -s --cookie "$COOKIEJAR" -X POST --data @"$jsonfile" "$TO_SERVER/api/1.2/deliveryservice/create"

            Reporter: Dan Kirkwood
         Attachments: new.json

When doing a `POST /api/1.2/deliveryservices` with the attached json,  I get this error:

{"alerts":[{"level":"error","text":"parameter profileName is must."}]}

I assume it means that a profile name must be provided,  but is poorly worded and incomplete.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)