Incomplete File Data

Hello Makers,

I have a webhook that delivers a pdf file. The module says
End of data sample, buffer was originally 2738699 bytes long. Now when i process this file to upload further it results into errors because its not complete. How can this be fixed ?

Hello, I found this link that addresses the issue you seem to be describing. How to download a file that requires authentication

Check it see if it helps.