The steps are:
1. I upload files to storage (files which will be merged).
2. I try to merge files (now I have workaround and append all files).
3. I download result file.
Only merge method does not work for me. Request url looks like:
Method that I use to merge file.
if (files.length == 0 )
// Upload PDFs and merge them
var options =
var fileName = ‘merge.pdf’;
var response = UrlFetchApp.fetch(sign(base_url+‘pdf/’+fileName+’/merge’, appSID, appKey), options);
Question - if merge.pdf file should exist before I call method merge?
I tried with existing file but failed too.