Ask our Experts
Didn't find what you are looking for? Ask our experts!
Share Your Feedback – Help Us Improve Search on Community! Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately. Click here to take the survey
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Search in
Link copied. Please paste this link to share this article on your social media post.
Hi,
Any idea what causes "status code = 500" when executing the PUT /Values/{id}/Name REST API? See the log below.
2018-11-27 20:47:56,375 [CM] INFO CM - request '{'Action': 'PutValueById', 'Id':'01/Server 1/Analog1', 'Value': '56.000000' }'
2018-11-27 20:47:56,375 [CM] INFO SEEwsRestApi - PutValueById, Id = '01/Server 1/Analog1', encoded Id = '01%252FServer%201%252FAnalog1', new value = '56.000000'
2018-11-27 20:47:56,375 [CM] INFO SEEwsRestApi - WebRequestPutData host = '127.0.0.1:8083' request = '/SBO/Values/01%252FServer%201%252FAnalog1/Value'
2018-11-27 20:47:56,375 [CM] INFO SEEwsRestApi - WebRequestPutData sending request...
2018-11-27 20:47:56,375 [CM] INFO SEEwsRestApi - WebRequestPutData getting response...
2018-11-27 20:47:56,375 [CM] ERROR SEEwsRestApi - WebRequestPutData after GetResponse(), status code = InternalServerError 500
2018-11-27 20:47:56,375 [CM] ERROR SEEwsRestApi - PutValueById fail, rc = -1, status code = 500
Thank you.
Mike
Link copied. Please paste this link to share this article on your social media post.
When I try the same with the Swagger I get this error message:
{
"Message": "AlternateId Update for Value is not allowed"
}
Thanks.
Mike
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.