Because of problems with credentials I have been switching back and forth a lot between the Request Library and the Axios Request Library using the N8N_USE_DEPRECATED_REQUEST_LIB environment variable.
I ran into a problem where I receive a 'source.on is not a function' error when trying to upload a PDF-file using the SalesForce node.
I switched back to N8N_USE_DEPRECATED_REQUEST_LIB=false and this fixed the problem. I believe there is something going wrong when uploading a file with the new Axios request library.
Set-up:
Platform: Docker
Version: 0.140.0
Node: SalesForce (Document Upload)
