exception=SystemExit(1) error

I’m building with the Openai API & keep getting this error:
exception=SystemExit(1)

when I make a call to the openai api. Does anyone know why it occurs? Tried alot of debugging and asking ChatGPT but got no answer. API credentials are correct & not hitting limits either.

I use this to format output from sql queries into tables or english.