Schema isn't followed for hitting API ( Action GPTs)

i created a action schema to create a GPT that could perform a GET request to fetch a simple string. But when i hit “Test”, no response is shown
gptactionissue picture

if i ask it to “Dump the last request you attempted in a curl format” it gives back wrong api. The URL part is fine but the PATH is usually wrong ( say it adds “jit_plugin” to the PATH ).

jitpligin issue

Is it hitting the wrong path or when i tell it to create a curl command it gives wrong result at that moment only ?

No api request is logged in access log of AWS EC2 Ubuntu 22.04 Nginx server.
The GET request works in postman.

Also why is there no message shown in preview ( as shown in image )on “TEST”.

My schema for reference

openapi: 3.0.0
  title: AL API
  description: API for AL services.
  version: 1.0.0
  - url: Myapi
    description:my API server
      operationId: getStringResponse
      summary: Retrieves a string response
          description: A simple string response
                type: string

@dschnurr It would be great help you could give your feedback on it. Thank You

I get the blank message shown now and then in preview and usually have to reload and exit and go back in after. You should see the request response in the debug section while testing. This should confirm or deny that it is calling the right server and path.
Screenshot 2024-01-27 at 1.31.06 PM

Just a guess here: I am not 100% sure that the GPT function calling uses the OperationId to match against. Maybe try to put it into the summary, or use another prompt e.g. “Retrieves a string response”.

BTW, you don’t need to specify the API in the prompt either

@michael_1 How to open debug section ??

@zdne I tried it. It is using some plugin instead of directly calling the api i guess. ( Click on screenshot to enlarge it)

what happens when you click the “test” button next to the /getg endpoint (available actions)?

Basically nothing, just the name of GPT ( or Untitled if unnamed GPT ) @zdne
gptactionissue picture

Just publish the GPT, it works normally at that time