I’m implementing a POC app that connects to OpenAI’s API, runs prompts and parses the responses. The “backend” is implemented in a function, which makes the actualy API calls and constructs the prompt based on input gathered through other components.
I keep getting 429 and 502 in almost a random order, I couldn’t identify any pattern. I can’t see a reason why I will receive a 429 as I’m on openai’s paid plan, and can’t really figure out the 502’s at all. The function log shows timeouts.
I tried running the function locally, but it got so complicated to debug it, that I gave up
Anyone got any idea how to proceed from here?