Search found 1 match
- Fri May 22, 2020 2:16 am
- Forum: ESP8266 boards
- Topic: Calling an API in a loop is crashing urequests
- Replies: 6
- Views: 4259
Re: Calling an API in a loop is crashing urequests
Hey Evan55, Is the code to connect to internet located your 'main.py' file? I was getting the same error with a get request to an API using the D1 mini. Sometimes it would work, but only 1 in every 10 tries or so. I fixed it by copying the code that I used to connect to wifi into the file where I us...