2019 Jun 04 12:58 PM - edited 2024 Feb 04 2:38 AM
Hello
We try to build a solution based on PdMS and SAP Leonardo IoT. Currently, we have some issues even getting up and running due to the lack of proper documentation and error handling within the APIs.
Up to now we failed to add an event to PdMS as described here:
but whatever we do, we currently end up in a 400 bad request or in a straight through Java exceptions delivered to us. There typically is an empty json respone. No information like, maybe "mandatory parameter missing", "thingid not found" are something similar. Just, 400 bad request. How shall we work with such an API? You can offered such hurdles in an open source environment, when you can look into the code and help yourself. Here we are lost.
1) Can someone provide a working example or knows of a tutorial that describes the generation of alterts? I guess we are missing just a minor detail that could be solved immediately with proper debug output.
2) How can we debug PdMS (Cloud Edition) APIs? Is there some tracing functionality? We need to have more information on what is wrong with an API call than just a java exception or an empty response...
For our examples we access the APIs as described here:
PS: Some of the example payloads are obviosouly wrong, sometimes the API description and the schema disagree on what is mandatory and what is not...
Request clarification before answering.
Hi Matthias,
unfortunately I don't have an answer for you but I sent a link to your question to some technical PdMS people.
Best, Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.