[ https://jira.fiware.org/browse/HELP-9343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fernando Lopez updated HELP-9343: --------------------------------- HD-Chapter: Apps Description: Created question in FIWARE Q/A platform on 26-03-2015 at 14:03 {color: red}Please, ANSWER this question AT{color} 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? was: Created question in FIWARE Q/A platform on 26-03-2015 at 14:03 {color: red}Please, ANSWER this question AT{color} 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? HD-Enabler: Wirecloud > [fiware-stackoverflow] "The requested name already exists as a different type" HTTP 409 response error > ---------------------------------------------------------------------------------------------------------------- > > Key: HELP-9343 > URL: https://jira.fiware.org/browse/HELP-9343 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Assignee: Álvaro Arranz > Labels: fiware, fiware-wirecloud, http, javascript > > Created question in FIWARE Q/A platform on 26-03-2015 at 14:03 > {color: red}Please, ANSWER this question AT{color} 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? -- This message was sent by Atlassian JIRA (v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy