Skip to main content

Hi,

I was calling a webservice while getting a value from the JSON I am receiving following error - Illegal character at position 1 expected '.' or '''

I was using following format $$main.temp.

"main": {    "temp": 11.02,    "feels_like": 9.72000000000003,    "temp_min": 8.58000000000004,    "temp_max": 13.04,    "pressure": 1023,    "humidity": 59,    "sea_level": 1023,    "grnd_level": 998  },

 

There is nothing wrong with the snippet of JSON you pasted here. Can you paste the entire JSON message as received by Postman or SoapUI?

This looks like the OpenWeather API. We have used this API in training situations in the past with no issues.


This is part of the - Getting Started with the JSON Package exercise.

Here is the link- https://rpademo.automationanywhere.com/webservices/weatherjson.php?location=Austin,TX,USA

 

Edit

Apologies it was due a missing dot.

It is working now , thank you!