Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-3813

Preauth API error response does not contain conflicting device

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      9

      Description

      When pre-authorizing a device using the API, if a matching device already exists, the 409 return code is returned. According to https://docs.mender.io/hosted/apis/enterprise/management-apis/device-authentication#responsesthe docs, it should also include the conflicting device. I used a curl command to test this and I do get the 409 return code but not the conflicting device info.

        Attachments

          Activity

            People

            • Assignee:
              kjaskiewicz Krzysztof Jaƛkiewicz
              Reporter:
              drewmoseley Drew Moseley
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel