attempted to add an SVG image to a slide but encountered an error. Here’s the error traceback:
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/apis/slides_api.py", line 22041, in import_shapes_from_svg
(data) = self.import_shapes_from_svg_with_http_info(name, slide_index, image, x, y, width, height, shapes, group, password, folder, storage, **kwargs) # noqa: E501
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/apis/slides_api.py", line 22139, in import_shapes_from_svg_with_http_info
return self.api_client.call_api(
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/api_client.py", line 352, in call_api
return self.__call_api(resource_path, method,
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/api_client.py", line 130, in __call_api
response_data = self.__call_api_with_refresh(
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/api_client.py", line 177, in __call_api_with_refresh
raise ex
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/api_client.py", line 167, in __call_api_with_refresh
raise ex
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/api_client.py", line 151, in __call_api_with_refresh
return self.request(method, url,
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/api_client.py", line 396, in request
return self.rest_client.POST(url,
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/rest.py", line 289, in POST
return self.request("POST", url,
File "/home/spericorn/Documents/project/fca_venv/lib/python3.8/site-packages/asposeslidescloud/rest.py", line 244, in request
raise ApiException(http_resp=r)
asposeslidescloud.rest.ApiException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Date': 'Mon, 02 Sep 2024 10:16:26 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '472', 'Connection': 'keep-alive', 'server': 'nginx/1.19.9'})
HTTP response body: AmazonS3 Storage exception: The specified key does not exist. Bucket 'aspose.cloud-filestorage-prod', FilePath '869085/45099399-20b8-486a-9af3-e3b542072ef6/ppt/dev/region PPT_QA Admin_09_02_2024_06_16_19.pptx'
Parameters Used in the API Call:
file_name: region PPT_QA Admin_09_02_2024_06_16_19.pptx
slide_index: 1
folder_name: ppt/dev/
aspose_storage: Report
I checked, and the file does exist in the specified folder_name path in Aspose. However, the SVG image insertion still fails.