Unable to confirm API call while testing custom gpt action

While trying to create a custom gpt action that called upon an API (which required an API key) for a stock quote, I found I was unable to confirm the call. The debug cited “The requested action requires approval”.

After trying different stock quote API and schema creation methods, I kept running into this issue. I eventually decided to publish the custom gpt and when I called upon the stock quote API I was able to confirm.

Additionally, I had created another action that called upon a crypto quote API that did not require an API key and it was able to confirm the call while testing within the action creation page.

So it seems the bug only effects API calls that require an API key while testing within the action creation page. I am not sure if this is something that effects all of ChatGPT 4o or if it arose within the creation of this custom action.

2 Likes

The issue is specific to API calls requiring an API key during testing within the action creation page. Since your crypto API call (which didn’t need a key) worked fine while testing, but the stock API (which required a key) only worked after publishing, it suggests a possible restriction on authenticated API calls during the test phase. This might be a broader ChatGPT-4o limitation or a bug affecting custom actions with API keys.

This is the root cause: