I have created a simple request forwarder that you can implement quickly and use.
To use it is very simple. Add a header to your API call called destinationURL.
This should be the API call URL(e.g https://api.openai.com/v1/images/generations).
Then, change the API call URL to https://us-central1-not-quite-unicorns.cloudfunctions.net/forward_request.
Your Authorization header remains the same and can be a header or shared header.
It will return the body of the API you’re calling, though not the headers. Don’t re-initialise the API call. When the issue is fixed, you can just copy the destinationURL header into the API call URL and get rid of the destinationURL header.
This is published on a no guarantees basis so use it if you wish or don’t.
