HTTP Request 400 error

Hi All

I am using HTTP request activity to get the weather report as a parameter passing ‘q’ and ‘appid’. But, still getting the status code 400 as bad error.

Please, see the below input and preview

The image shows an HTTP request to the OpenWeatherMap API returning a 400 error with the message "Nothing to geocode." (Captioned by AI)

@Santhosh_Perumal,

Remove the q from endpoint URL as you are already passing as parameter.

1 Like

You can pass parameter in endpoint itself
check below screenshot
Hope this will work

1 Like

Thanks Ashok it works

@Santhosh_Perumal,

Wonderful! Kindly mark my answer as solution as it’s the solution so it will be helpful to other community members as well!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.