cancel
Showing results for 
Search instead for 
Did you mean: 

Sending sensor data using HTTP data service

Former Member
0 Kudos

Hi,

I am trying to send sensor information using HTTP as data service. But I am facing some issues.

Sometimes the I am getting 401 as error or somethings below error

{

  • msg: "Error. Device a70f236c-c464-4b3a-971c-351e4fe2853e Authorization:Bearer 4271ee894a3adf7429cbbe7eca9c9521, Content-Type:application/json not found in registry. Synchronizing with RDMS. Try again in 60 seconds"

}


Http service I am trying to use is as below


https://iotmmss0014298301trial.hanatrial.ondemand.com/com.sap.iotservices.mms/v1/api/http/data/a70f2...

Authorization:Bearer 4271ee894a3adf7429cbbe7eca9c9521,

Content-Type:application/json;charset=utf-8

{"mode":"sync", "messageType":"1", "messages":[{"sensor":"sensor1", "value":"50", "timestamp":1413191999}]}

Please let me know if I am missing something.

Regards,

Abhishek Bajaj.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Issue is resolved since the board/gateway which we were using to send IoT data doesn't support https. Hence unable to send data.

Answers (0)