Describe the issue/error/question
I tried to recreate this fetch,
const form = new FormData();
form.append('nature', 'attachment');
form.append('file', 'data:application/pdf;name=pdf24_converted.pdf;base64,JVBERi0xLjQKMSAwIG9iago8PAovVGl0bGUgKP7/AEUAeABhAG0........');
const options = {
method: 'POST',
headers: {
accept: 'application/json',
authorization: '**********************************************'
}
};
options.body = form;
fetch('https://api-sandbox.yousign.app/v3/documents', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
So that what i used inside my configuration
But the response is
As you can see it tells me that the “file” input inside form data has no content
but It has a pdf that is encode in base64
Information on your n8n setup
Running n8n via [Docker]