#Custom GPT Action w/ my API Endpoint not working?

1 messages · Page 1 of 1 (latest)

opal basin
#

I have built a FastAPI/uvicorn <-> ngrok. My GPT action accepts my openAPI schema. The endpoints I have defined work find in CURL and Postman. They fail when called from within my custom ChatGPT endpoint. I thought this might be a CORS issue so i added: # Configure CORS app.add_middleware( CORSMiddleware, allow_origins=["*"], # Specify the domains allowed, "*" allows all domains allow_credentials=True, allow_methods=["*"], # Allows all methods allow_headers=["*"], # Allows all headers ) but that didn't work. I do think it might be an access problem. Is there a simple example I can try to duplicate? Or a level of debugging documentation advice? thank you.

coral sleetBOT
#

Hi @opal basin. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the information provided in the extracts, it seems that several users have faced similar issues with their custom GPT actions not triggering external API calls. However, the extracts do not provide a specific solution to this problem.

One user mentioned that they were not seeing any signs of incoming requests from GPT in their server logs, which made it hard to figure out the issue. Another user had a similar problem where the GPT made a single request for the expected GET, but didn’t perform the followup POST.

Unfortunately, the extracts do not provide a simple example or a level of debugging documentation advice that you can follow to resolve this issue. It might be helpful to check the OpenAI community forums or the OpenAI documentation for more information.

Sources:


Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@opal basin kapa.ai is still learning and improving, please let us know how it did by reacting below

opal basin
#

@coral sleet how do i clear GPT's authentication mechanisms? I think the support text was referring to a custom GPT. Here is the text: Ah! In my case clearing the GPT’s authentication mechanism, saving it, and then re-configuring it enables it to make HTTP requests to my API.

coral sleetBOT
#

Let me check the knowledge base for you. One moment! :books:

#

Based on the extracts provided, it's not clear how to clear GPT's authentication mechanisms. However, it's important to note that changing or switching the authentication method used to sign into ChatGPT is generally not supported, even if you delete your account. Deleting your account does not allow you to change your authentication method.

If you originally signed up for OpenAI / ChatGPT with an email and password, then in future logins you can choose Google/Apple login, allowing users in that situation to then login either way.

For more specific instructions or assistance, you may want to reach out to OpenAI support or check the OpenAI community forums for more information.

Source: Help Article > En > Articles (https://help.openai.com/en/articles/4936824-can-i-change-my-authentication-method)

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: