Processing TIFF Attachments in RingCentral using NodeJS
I have a program written in Node using the "RingCentral" package, the program downloads faxes sent to a RingCentral account. When the faxes are in PDF format everything works correctly, however 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. Inspecting the file shows that it is indeed the TIFF image (starts with II*).
Has anyone come across this issue? is there a way to force all faxes to be stored as PDF by RingCentral?
When I read the message through the API, the contentType is set to "image/tiff", this is for a very small number of faxes, most of them come in as PDF. I am only fetching received faxes, and this is confirmed by looking at the messageStatus which is "Received".
I'll try the sample application to see if I can learn more.
After rerunning my own test again I realized these faxes are also having problems through the web interface, so the attachment must be corrupted for some reason. I must have clicked on a different fax before. Sorry for the confusion.
I do wonder why some of these (and again, they are very few) are like this, is as if the reception process failed at some point by the fax shows on the message tab as if it had been received successfully.
I am not exactly sure as to why the faxes are failing during the reception process Could you provide logs ( if you have any ) for these requests please ? ( please do not publish any sensitive data on the logs )