i’m currently trying to read the content of a PDF file which is downloaded via the Nextcloud node.
The download process is no problem, works fine. But when I try to open the PDF after the Nextcloud node, the file cannot be read. Seems like there is no content in this PDF, although there is.
The “Extract from PDF” node of course cannot read the PDF afterwards.
Do you have any recommendations for me how I can fix this?
Can you see the PDF data in the nextcloud node after executing it? Could you share a screenshot? Just trying to understand the issue - is the nextcloud node returning data, but the ‘extract from file’ node is not working?
Could you set N8N_DEFAULT_BINARY_DATA_MODE to filesystem then stop and start the container and try again? The default is to keep it in memory which could be the issue. We’re probably going to change that in the future.
Hey Bartv,
on my filesystem the file has a filesize of 200kb… even when I use the IMAP Node and use the attachement for further process the size is ~2kb. It looks like my N8N instance can’t process the PDF files correct.
Perfect, To extend it a bit can you now try the below, It is going to upload the same file to NextCloud then download it putting it in a different property and trying to read it.