Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-400

incomplete error message from TO api

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.0
    • None
    • Traffic Ops API
    • from command line:
         curl -s --cookie "$COOKIEJAR" -X POST --data @"$jsonfile" "$TO_SERVER/api/1.2/deliveryservice/create"

    Description

      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.

      Attachments

        1. new.json
          1 kB
          Dan Kirkwood

        Activity

          People

            Unassigned Unassigned
            dangogh Dan Kirkwood

            Dates

              Created:
              Updated:

              Slack

                Issue deployment