We have a service that converts docx → html.
The Aspose API has just suddenly started to throw errors.
Last successful call was at 2025-01-09 17:06:01.943
Since 2025-01-09 17:27:57.021 the api gives the following error.
2025-01-09 17:59:35.818 ERROR main - main: Traceback (most recent call last):
File "/opt/html_cleaner/main.py", line 113, in main
handle_payload(e.payload)
File "/opt/html_cleaner/main.py", line 141, in handle_payload
html = aspose.convertWordToHTML(word, is_docx_formatted)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/html_cleaner/aspose.py", line 42, in convertWordToHTML
response = self.words_api.accept_all_revisions(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/asposewordscloud/apis/words_api.py", line 93, in accept_all_revisions
data = self.accept_all_revisions_with_http_info(request, **kwargs) # noqa: E501
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/asposewordscloud/apis/words_api.py", line 135, in accept_all_revisions_with_http_info
return request.deserialize_response(self.api_client, self.api_client.call_api(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/asposewordscloud/api_client.py", line 463, in call_api
return self.__call_api(resource_path, method,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/asposewordscloud/api_client.py", line 201, in __call_api
response_data = self.request(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/asposewordscloud/api_client.py", line 485, in request
return self.rest_client.request(method, url,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/asposewordscloud/rest.py", line 238, in request
raise ApiException(http_resp=r)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/asposewordscloud/rest.py", line 251, in __init__
self.init_error_response(json.loads(http_resp.data))
File "/usr/local/lib/python3.11/site-packages/asposewordscloud/rest.py", line 273, in init_error_response
self.body = WordsApiErrorResponse(json_object["RequestId"], self.init_error(json_object["Error"]))
~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'RequestId'