on ‎2023 Dec 14 2:41 PM
Dear Community,
(probably) since applying SP29 for the Landscape Management components (this Monday) we're facing a problem with getting the activity status via REST API with activities/<activityno>?query=fields=items(activityNumber,status)
It worked fine until now. Suddenly we're facing "500 Internal Server Error" responses and find the following error in LaMas java logs: "Cannot process an HTTP request to servlet [lama_api] in [lama-api] web application. For more details on the problem please check traces searching by logId: C000C2AFA09DB07600000005000052A6"
The only trace / log entry we find with this logId is the quoted one and nothing related during the time period it occured.
And as is always the case - the colleague who wrote the script is not available anymore...
Do you have any idea what changed / what's wrong here out of a sudden? The only thing I see in SAP note 3316859 that might refer to this is "The REST API returns an error when invalid query parameters are sent." - but how come this is suddenly invalid when it worked all the time before ... and I don't see any difference in the API reference...
Hopefully you experts can help us here.
Thanks & regards, Marie
Request clarification before answering.
Dear all,
problem solved completely: we found out the correct syntax through trial and error - so this (hopefully) works now for all Lama APIs - here are two examples:
activities/<act.No>?fields=activityNumber,status
systems/SystemID.<SID>.SystemHost.<Host>?fields=name,systemUUID
Maybe this might help someone else.
Cheers, Marie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.