So this code works… sometimes:
It seems to work as long as it’s getting an API response, but it seems like that response comes in really slowly sometimes. Occasionally the code will suddenly start working after the pen is saved. Sometimes nothing happens at all. Sometimes it pops up immediately. I’ve been tinkering around but I can’t figure out what’s causing that behavior, besides just maybe the API is really slow or spotty.
Am I right about this, or is there something wrong with my code?