After rerunning my test again I realized these faxes are also having problems through the web interface, so the attachment must be corrupted for some reason.
Glad you found your issue and it was due to actual corrupted faxes in the comment thread. For others that come across this, here's some information on how to test TIFF
files.
if the fax attachment happens to be a TIFF image (only very few are) the data returned seems to be incomplete, it is always 390 bytes[...] Has anyone come across this issue?
Downloading TIFF
images works fine for me using the RingCentral API. I used the fax_download.rb
script in the community Ruby SDK. I used the fax_send.rb
demo script to send the test_file.pdf
included in the SDK to an extension configured for TIFF
files and was able to download and read it as a 14538 byte TIFF
file using the fax_download.rb
script.
Resource links:
Is there a way to force all faxes to be stored as PDF by RingCentral?
There is a file type configuration setting for PDF
and TIFF
per extension as mentioned by @CarpeDiem above. Having all extensions configured for PDF would ensure all stored faxes were in PDF
format. This can be set by RingCentral support on the backend, but I'm not sure if there is a customer facing setting.