When you trying to use a file hosted in Salesforce but you receive an error 442. This could mean that the file url sends our API a file that is not compatible with the expected file format.
Please refer to this article to get the direct download link https://salesforce.stackexchange.com/questions/369497/how-to-derive-a-direct-link-to-a-file-from-the-link-to-the-download-page
If it doesn’t resolve the issue, please contact our support team.
Copyright © 2016 - 2024 PDF.co