[Backlogmanager] [FIWARE-JIRA] (HELP-14694) FIWARE.Question.Tech.Python Fiware Orion Context Broker problems.

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Wed Dec 19 18:45:00 CET 2018


     [ https://jira.fiware.org/browse/HELP-14694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-14694:
----------------------------------
    Description: 
Created question in FIWARE Q/A platform on 24-09-2018 at 16:09
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/52481718/python-fiware-orion-context-broker-problems


+Question:+
Python Fiware Orion Context Broker problems

+Description:+
I can't create an entity.

Payload:

datos = {
            "id": "1",
            "type": "Car"      
}


Query:

jsonData = json.dumps(datos)
url = 'http://130.206.113.177:1026/v2/entities'

response = requests.post(url, data=jsonData, headers=head)


Error:

'{"error":"BadRequest","description":"attribute must be a JSON object, unless keyValues option is used"}'


  was:

Created question in FIWARE Q/A platform on 24-09-2018 at 16:09
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/52481718/python-fiware-orion-context-broker-problems


+Question:+
Python Fiware Orion Context Broker problems

+Description:+
I can't create an entity.

Payload:

datos = {
            "id": "1",
            "type": "Car"      
}


Query:

jsonData = json.dumps(datos)
url = 'http://130.206.113.177:1026/v2/entities'

response = requests.post(url, data=jsonData, headers=head)


Error:

'{"error":"BadRequest","description":"attribute must be a JSON object, unless keyValues option is used"}'


     HD-Enabler: Orion

> FIWARE.Question.Tech.Python Fiware Orion Context Broker problems.
> -----------------------------------------------------------------
>
>                 Key: HELP-14694
>                 URL: https://jira.fiware.org/browse/HELP-14694
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Jose Manuel Cantera
>              Labels: entity, fiware, fiware-orion, python-2.7
>
> Created question in FIWARE Q/A platform on 24-09-2018 at 16:09
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/52481718/python-fiware-orion-context-broker-problems
> +Question:+
> Python Fiware Orion Context Broker problems
> +Description:+
> I can't create an entity.
> Payload:
> datos = {
>             "id": "1",
>             "type": "Car"      
> }
> Query:
> jsonData = json.dumps(datos)
> url = 'http://130.206.113.177:1026/v2/entities'
> response = requests.post(url, data=jsonData, headers=head)
> Error:
> '{"error":"BadRequest","description":"attribute must be a JSON object, unless keyValues option is used"}'



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy