Get for object is returning null

restTemplate.getForObject(“https://api.tiingo.com/tiingo/daily/GOOGL/prices?startDate=2019-01-01&endDate=2019-01-04&token=xxxx”,String.class);
null

This is the output I am getting while debugging my api response
It wasnt null in module4
I cant understand why is this returning null because using curl the output is being generated.

Okay, To be exact your starting date is basically a new year’s day :upside_down_face:
No market is open on that day.
Make sure you are taking the previous day as the starting day :slight_smile:

the error still remains the same
Using curl the output is obtained.