error code 499 while uploading file through nodejs
I am facing error: { message: 'Request Timeout', http_code: 499, name: 'TimeoutError' } meanwhile my internet connection is stable and file size is 55kb. I have tried with other file size still gives same error. Also i tried increasing my request timeout by 10000ms on postman. Tried Thunderbolt also for testing and gets same error. Key point is that same code is working fine on my friends system with same configuration but not working on my system.
Answers
-
Hi Prabhat,
Thank you for reaching out! For a simple programmatic upload using our nodejs sdk, sample code is the following:
cloudinary.v2.uploader .upload("hat.jpg", { use_filename: true}) .then(result=>console.log(result));
This sample code is documented on our Upload Guide pages. It also crucial to test whether the app can reach the internet, for example download or load an image to a page that was already uploaded/existing on your account. Using the image method
cloudinary.image("sample.jpg")
should generate an HTML tag like so:<img src='https://res.cloudinary.com/demo/image/upload/sample.jpg' />
0 -
Did u solved the problem??? Becoz I m also facing the same issue
0 -
Hi @aroravaruncode,
Most times folks run into this error it has to do with network issues that are
solved by changing some network configurations or swapping to a different
network.Can you please open a support ticket so we can help you investigate?
https://support.cloudinary.com/hc/en-us/requests/new
-Tamara
0