Error: SaveAs. Exception: Error while get files in folder 'CustomFonts' from storage

Hi there,

We’re experiencing issues with saving to docx with the publishing failing due to

Error: SaveAs. Exception: Error while get files in folder ‘CustomFonts’ from storage: Error while get file list in folder ‘CustomFonts’ from storage: AmazonS3 Stor…

Is there any news on what’s causing this?

@Sammyjo20

The error you are encountering while trying to save a document to DOCX format seems to be related to accessing custom fonts stored in your Amazon S3 bucket. The specific message indicates that the bucket must be accessed using a designated endpoint, which is a common requirement when working with Amazon S3.

To resolve this issue, please ensure that you are using the correct endpoint for your S3 bucket. Each S3 bucket is associated with a specific region, and you need to use the endpoint that corresponds to that region. For example, if your bucket is in the US East (N. Virginia) region, the endpoint would typically be s3.amazonaws.com. If it’s in another region, the endpoint will differ accordingly.

Additionally, make sure that the folder where your custom fonts are stored is correctly named and accessible. The folder should be named ‘CustomFonts’ as per your error message, and it should be located in the root of your storage.

If you continue to experience issues, consider checking the permissions for your S3 bucket to ensure that your application has the necessary access rights to read from the ‘CustomFonts’ folder.

For further assistance, you might want to refer to similar posts where users have encountered and resolved related issues. Here are a couple of relevant discussions:

  1. A user reported a similar error regarding accessing custom fonts from storage, which may provide insights into troubleshooting steps.
  2. Another post discusses the importance of specifying the correct endpoint for S3 buckets, which could be directly applicable to your situation.

If you have any additional details or specific configurations, feel free to share them for more tailored assistance.

Sorry I should have clarified, the custom fonts are saved on aspose and nothing our end has changed!

API call to https://api.aspose.cloud/v4.0/words/online/put/saveAs?fontslocation=CustomFonts

Please check that this folder exists on storage, and also check the retention policy is set for your storage. And one more thing, if you want your files not to be deleted after the time set in settings, you can specify a regex expression which will be used to remove the file from the list for deletion

Hey @yaroslaw.ekimov

The folder exists on storage and we have an exclusion rule for the folder. This hasn’t changed for months and earlier on today the requests were working ,and then stopped working so there is an issue on your side.

Please could you take a look please?

Sure, I will check it right away.

hi @yaroslaw.ekimov any updates?

This is impacting our clients still

One of the errors that may cause such behavior has been fixed; now we are waiting for a fix for another error that is being deployed.

Recent testing shows that this is still not resolved.