500 Internal Server Error

I keep getting this error whenever I try to run the POST link on Postman. I ran this code before and it has worked but for the past two days, I keep getting this error. My status page says everything is operational.

and this is the output on Postman:

The same error is when using python SDK since around 7am EST.

[INFO] 2024-01-09T15:06:41.230Z 0d039ebf-8186-549c-9d66-c0a8e2a36b4a HTTP Request: POST https://api.openai.com/v1/completions "HTTP/1.1 500 Internal Server Error"

 

[ERROR] InternalServerError: Error code: 500 - {'error': {'message': 'internal error', 'type': 'invalid_request_error', 'param': None, 'code': None}}
Traceback (most recent call last):

...

 File "/var/lang/lib/python3.11/site-packages/mynlp/openai.py", line 22, in generate_completion
    return service_provider.openai_client.completions.create(
  File "/var/lang/lib/python3.11/site-packages/openai/_utils/_utils.py", line 301, in wrapper
    return func(*args, **kwargs)
  File "/var/lang/lib/python3.11/site-packages/openai/resources/completions.py", line 559, in create
    return self._post(
  File "/var/lang/lib/python3.11/site-packages/openai/_base_client.py", line 1063, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "/var/lang/lib/python3.11/site-packages/openai/_base_client.py", line 842, in request
    return self._request(
  File "/var/lang/lib/python3.11/site-packages/openai/_base_client.py", line 873, in _request
    return self._retry_request(
  File "/var/lang/lib/python3.11/site-packages/openai/_base_client.py", line 933, in _retry_request
    return self._request(
  File "/var/lang/lib/python3.11/site-packages/openai/_base_client.py", line 873, in _request
    return self._retry_request(
  File "/var/lang/lib/python3.11/site-packages/openai/_base_client.py", line 933, in _retry_request
    return self._request(
  File "/var/lang/lib/python3.11/site-packages/openai/_base_client.py", line 885, in _request
    raise self._make_status_error_from_response(err.response) from None

Could the problem be with the Python package installed? Because the HTTP request deploys successfully it only displays the error once the link is applied, like in Postman.