Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-9343

[fiware-stackoverflow] "The requested name already exists as a different type" HTTP 409 response error

    Details

      Description

      Created question in FIWARE Q/A platform on 26-03-2015 at 14:03
      Please, ANSWER this question AT https://stackoverflow.com/questions/29279391/the-requested-name-already-exists-as-a-different-type-http-409-response-error

      Question:
      "The requested name already exists as a different type" HTTP 409 response error

      Description:
      I'm trying to implement a WireCloud widget which communicates with ObjectStorage via JS ObjectStorageAPI. After some troubles with enabling ObjectStorageAPI i've manages to run command os_api.listContainer() and in response I've got 409 error, with message attached "The requested name already exists as a different type". I've been trying to find bugs in my code for last few days and nothing seems to be wrong with it.
      I'm trying to run widget using FiWareLab as a working environment.
      Does anyone have any idea about what could be causing mentioned error?

      EDIT:
      I've managed to figure out what is causing this error. In order to list a container, cdmi request url must end with "/" character. When I use os_api.listContainer() it generates url without it. If I manually append url proper response is returned with container's contents.

      First idea of fixing it - to append "/" to container's name - doesn't work. "/" character is replaced by escape sequence "%2F". Not sure if there's a way around this issue?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-30 09:05|CREATED monitor | # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-30 09:05|CREATED monitor | # answers= 1, accepted answer= False

          People

          • Assignee:
            aarranz Álvaro Arranz
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: