Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Dismissed
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Data
-
HD-Enabler:Orion
Description
Nguyen Hoang Quy sent a message using the contact form at
http://catalogue.fiware.org/.
Dear,
Please help me to correct an error as below:
Service return error: Unauthorized when i am trying to create new entity on
Orion Context Broker
Link on stack overflow:
http://stackoverflow.com/questions/36348231/fiware-orion-context-broker-return-unauthorized-error-when-create-new-entity
- Service Endpoint (URL):http://orion.lab.fiware.org:1026
- Request:
POST: http://orion.lab.fiware.org:1026/v2/entities
Header:
Content-Type:application/json
X-Auth-Token:"Bearer + [token is got form
https://account.lab.fiware.org]
Body:
"{ \"type\": \"aaaaaa\", \"id\": \"Bcn-Welt\", \"temperature\":
21.7, \"humidity\": 60, \"location\": { \"value\": \"41.3763726,
2.1864475\", \"type\": \"geo:point\", \"crs\": \"WGS84\" }}"
Note: - [token] i get directly from https://account.lab.fiware.org
- Link reference document to create entity:
http://telefonicaid.github.io/fiware-orion/api/v2/cookbook/
Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
Please, send your messages using the new domain (Fiware-tech-help@lists.fiware.org) instead of the old one.
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: quyhn@applicateit.net]
Question has been put "on hold" at StackOverflow. While that "on hold" gets removed (user intervention to clarify the question is needed), this issue will remain in Impeded status.