Docs API vs Creator

Docs API vs Creator

Hello,

I'm building an application with a file upload field. Everything is working fine but I can't manage to upload a file to Zoho Docs. I've made te following script:

  1. FILE= "https://creatorexport.zoho.com" + zoho.appuri + "Te_verwerken_facturen/Bijlage_1/download/" + input.Bijlage_1 +"";

  2. RESPONSEDOCS = postUrl("https://apidocs.zoho.com/files/v1/upload?authtoken=a553141534edb51351513510b93048489ea&scope=docsapi&filename="+ input.Bijlage_1 + "&fid="+ input.folder_id + "&content="+ FILE +"", "");

  3. input.Test_Response = RESPONSEDOCS;

As a response I receive: 

  1. {"response":[{"uri":"/files/v1/upload"},{"message":"EMPTY_OR_NO_FILE_SPECIFIED"},{"result":[]}]}
I've tested the download URL "FILE" and it works fine.

What could be the issue?