if the message is coming from the api then that would be the servers problem. try playing with the api with a gui app retrieving a few records here and there and see if you hit the same results.
Mar 10, 2021
2
Level 2
Error while fetching data from API
I am fetching data from api recursively getting 100 items per request as the data is paginated by default from the API. I then save this data to the db again and again untill all records are finished. When the fetching reach page number 25 that means 2500 records it throw an error " could not resolve host name for "https://api.com"" Or sometimes " no data received from server" Am stuck here. Total records are like 40 000
Please or to participate in this conversation.