You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
Hi,
we have got an error message when creating (using POST with the payload containing the content of the TemperatureSensorTD.jsonld found in the "samples" directory) the TemperatureSensorTD. Here is the begining of the payload:
<pre> javax.servlet.ServletException: No instance of td:Thing found in the RDF payload</pre>
</p>
<hr />
<a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.6.v20151106</a>
<hr/>
</body>
when replacing the line "@type": "Sensor",
with :
"@type": ["Thing", "Sensor"]
Or
"@type": ["Thing"]
(found in other TD json files)
It works
We also noticed that the description of the thing (using the GET method) is slimmer than the description we provided (the payload of the POST method)
Any idea why?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
we have got an error message when creating (using POST with the payload containing the content of the TemperatureSensorTD.jsonld found in the "samples" directory) the TemperatureSensorTD. Here is the begining of the payload:
{
"@context": [
"http://w3c.github.io/wot/w3c-wot-td-context.jsonld",
{
"saref": "http://uri.etsi.org/m2m/saref#",
"Sensor": "saref:Sensor",
"Temperature": "saref:Temperature",
"unit": "saref:isMeasuredIn",
"celsius": "http://www.wurvoc.org/vocabularies/om-1.8/degree_Celsius"
}
],
"@type": "Sensor",
"name": "myTempSensor5",
"base" : "coap:///www.example.com:5687/temp",
"interaction": [
{
Here is the error message:
<title>Error 500 </title>HTTP ERROR: 500
Problem accessing /td. Reason:
when replacing the line "@type": "Sensor",
with :
"@type": ["Thing", "Sensor"]
Or
"@type": ["Thing"]
(found in other TD json files)
It works
We also noticed that the description of the thing (using the GET method) is slimmer than the description we provided (the payload of the POST method)
Any idea why?
The text was updated successfully, but these errors were encountered: