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

incomplete error message from TO api

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: Traffic Ops API
    • Labels:
    • Environment:
      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

            • Assignee:
              Unassigned
              Reporter:
              dangogh Dan Kirkwood
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: