Unable to validate the API URL

Hi All

while i am entering the API key and click on validate getting this error,

Please kindly let me know where i went wrong.

Thankyou!!!

Hiii @vineelag

Use double Quotes

and

weather?/api

@vineelag

Make sure that you have provided the API key in the right way and that there are no typos or syntax errors.

Replace YOUR_API_KEY with your actual API key and URL with the API endpoint you’re trying to access.

Ensure that you have used the correct quotation marks (single or double) around the API key, and there are no extra spaces or characters that shouldn’t be there.

Double-check that the API key you are using is valid and has the necessary permissions to access the resource you’re trying to access.

If your API key or URL contains special characters, you may need to properly escape them using backslashes.

Cheers…!

@Dilli_Reddy Thanks for your response,

i tried all the possibilities you mentioned above but still getting the same erode.

Please kindly guide me

Share the proper code
i mean click on configure,share the screenshot

@vineelag

You have to give th curl to import not the request url…if you give the full curl thent he properties get imported

Else instead of import click on configure…give the uri in the url field…and add the properties as needed

As per error it is clear you r not giving a curl…

If you have tried performing request on postman…in postman you have an option to get the curl…can copy from there </> button looks like this generally on right top in postman to get the curl

Cheers

@Dilli_Reddy
@Anil_G

@vineelag

please give the value between double quotes

"https://...."

cheers

@vineelag

Give the double quotes " "
In the url ending give wheather?/api

Give this URL like this

Cheers…!

Check the end point, it shouldn’t end with a question mark (indicates missing query string).

@Anil_G
@Dilli_Reddy

After Entering Parameters values clicked on Preview getting like,

@vineelag

Please dont use variables in the preview panel…use the actual values and it should be working

Cheers

@Anil_G
i didn’t created any variable but still its showing like this.

@vineelag

In the value firlds please use inverted comma to specify the value as a string instead of variable

London and the api id

Also please select the type appropriately…

Should apid be added in the url? Or header?

Cheers