Thanks for the link, I’ll keep that as a backup in case all else fails.
I tried instituting a 5 second time delay between completion requests as I read about in this thread, but that didn’t work either.
This seems to be a problem with GPT-4. I rolled my app back to 3.5-turbo and it works perfectly (at about 25% of the time it takes GPT-4 also). Frustrating to say the least.