cancel
Showing results for 
Search instead for 
Did you mean: 

Pushing docs with API

akshay_patil218
New Contributor

Hi All,

I need to push file using API.
the file format is PDF, I am getting error
“Error: File could not be found within the upload directory”

Could you suggest here ?

12 REPLIES 12

petar_rajchinos
New Contributor III

Hi,

Could you be more specific ? Are you trying to read some file using file reader snap and send it somewhere via REST call ?
Which snap is causing a problem ?

Regards,
Petar

Hi Petar,

yes, i am reading it through file reader snap and send it to server using rest post snap.

I am getting the error, “Error: File could not be found within the upload directory”

anubhav_nautiya
Contributor

You might need to upload the file in sldb if its not there, please note the file size should not be more than 100 MB as that wont get uploaded to sldb. once the file is uploaded you can use REST POST Snap.

Regards
Anubhav

the file is already present in sldb server.