I have a module in a custom app that includes a parameter of type file, as the API requires this parameter to be of type file, not string. Because of this, I am unable to send both the data and the name of the file.
Is it possible to send the file as a pdf? If so, how can I do this?
Type ‘file’ is not the correct parameter to use, as you can see, this offers an upload button to search for a file locally. Try the buffer parameter (in combination with ‘filename’: Make.com - Custom App Documentation
A 404 points to something else entirely, namely that the resource you try to reach cannot be found. (page non trouvée). The first step in solving your problem is checking the endpoint you are POST-ing data to.
Then you can check the payload, where think you don’t need to nest the file inside a collection.