[ https://jira.fiware.org/browse/HELP-20079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fernando Lopez reassigned HELP-20079: ------------------------------------- Assignee: Scorpio Dev. Team > [fiware-stackoverflow] Fiware Scorpio appending new attribute to existing entity > -------------------------------------------------------------------------------- > > Key: HELP-20079 > URL: https://jira.fiware.org/browse/HELP-20079 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Assignee: Scorpio Dev. Team > Labels: fiware, fiware-scorpio > > Created question in FIWARE Q/A platform on 19-09-2022 at 12:09 > {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/73773527/fiware-scorpio-appending-new-attribute-to-existing-entity > +Question:+ > Fiware Scorpio appending new attribute to existing entity > +Description:+ > I tried to append a new entity to an existing entity. > Same as in the official example on: > https://scorpio.readthedocs.io/en/latest/API_walkthrough.html#updating-an-entity-appending-to-an-entity > Try to append attribute humidity: > curl localhost:9090/ngsi-ld/v1/entities/house2%3Asmartrooms%3Aroom1/attrs -s -S -X PATCH -H 'Content-Type: application/json' -H 'Link: https://pastebin.com/raw/Mgxv2ykn' -d @- <<EOF > { > "humidity": { > "value": 34, > "unitCode": "PER", > "type": "Property", > "providedBy": { > "type": "Relationship", > "object": "smartbuilding:house2:sensor2222" > } > } > } > But I receive the error: > { > https://uri.etsi.org/ngsi-ld/default-context/notUpdated : [ { > https://uri.etsi.org/ngsi-ld/attributeName : { > "@id" : https://uri.etsi.org/ngsi-ld/default-context/humidity > }, > https://uri.etsi.org/ngsi-ld/reason : "attribute not found in original entity" > } ] > } > Can anybody tell me, if they encounter the same problem? > Or how to fix this? > Thank you in advance! -- 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