Skip to main content
Solved

HTTPCaller problem with download file via URL

  • February 25, 2021
  • 2 replies
  • 119 views

Hello everyone,

I want to download files from USGS.

In my workspace I have a Creator connected to HTTPCaller.

My HTTPCaller looks like this:

 

screenWhen I Run the workspace I get error 'Error running translation'.

When I paste this URL to browser and click enter, after about two minutes file starts download but I can't use this URL in HTTPCaller.

Any ideas ?

Cheers

Ann

 

Best answer by 7madness5

Thank You,

I get URL looking like this https:\\/\\/blabla.bla\\/bla from another HTTPCaller, which gave me information about satellite image that I want to download.

I changed https:\\/\\/blabla.bla\\/bla to https://blabla.bl/bla and it's work !

Cheers

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

jkr_wrk
Influencer
Forum|alt.badge.img+35
  • February 25, 2021

There is usually more info in the log than 'Error running translation'.

 

Why is your url looking like this https:\\/\\/blabla.bla\\/bla

My urls normaly look like thisk https://blabla.bl/bla

 

You are sending an X-Auth-Token so you probably need to be logged in to download the data? Is the X-Auth-Token the only thing or do you need to send cookies? Or other parameters? Do you need an GET or POST request?

 

If you past the URL in a clean private browsing window and press enter do you still get the file? Then sending X-Auth-Token is probably not needed.

 

I guess we need more information to solve the problem, but maybe others download files from USGS all the time and have all the settings you need.


  • Author
  • Best Answer
  • February 25, 2021

Thank You,

I get URL looking like this https:\\/\\/blabla.bla\\/bla from another HTTPCaller, which gave me information about satellite image that I want to download.

I changed https:\\/\\/blabla.bla\\/bla to https://blabla.bl/bla and it's work !

Cheers