1
0
forked from docs/doc-exports
Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-09 14:55:21 +00:00

1.7 KiB

Why Does an Error Occur When I Query the ApplicationID of a Completed or Non-existing Application Using the RESTful APIs?

Question

Why does an error occur when I query the applicationID of a completed or non-existing application using the RESTful APIs?

Answer

The Superior scheduler only stores the applicationIDs of running applications. If you view the applicationID of a completed or non-existing application by accessing the RESTful API at https://<SS_REST_SERVER>/ws/v1/sscheduler/applications/{application_id}. the 404 error is returned by the server. If Chrome web browser is used, the Error Occurred message is displayed because chrome preferentially responds in the application/xml format. If Internet Explorer is used, the 404 error code is displayed because IE web browser preferentially responds in the application/json format.