Actions don't seem to work

I try to integrate a simple action into my GPT but it doesn’t work and I don’t know why.

  • I don’t use authentication
  • The schema matches perfectly OpenAPI standards
  • Parameters displayed in [debug] calling Http endpoint seem correct
  • If I execute request with displayed parameters in postman it works

The schema :

{
  "openapi": "3.1.0",
  "info": {
    "title": "IO Aerospace API - Pre-release",
    "description": "An astrodynamics API - ! Not for production use !",
    "termsOfService": "xxxxxxxxxxxxx",
    "contact": {
      "name": "IO Aerospace",
      "email": "xxxxxxxxxxxxx"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://xxxxxxxxxxxxxxxx"
    }
  ],
  "paths": {
        "/v1/CelestialBody/{bodyId}": {
      "get": {
        "tags": [
          "CelestialBody"
        ],
        "summary": "Get information about celestial body",
        "operationId": "Information",
        "parameters": [
          {
            "name": "bodyId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CelestialBodyDTO"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }

Available action :
image

Parameters displayed in [debug] Calling HTTP endpoint:
{
“domain”: “xxxxxxxxxxxxxxxxxx”,
“method”: “get”,
“path”: “/v1/CelestialBody/{bodyId}”,
“operation”: “Information”,
“operation_hash”: “322ff29ad39fb69b0f839a2ed9d90a8b12aaa965”,
“is_consequential”: false,
“params”: {
“bodyId”: 399
}
}

When I try to know more about the request sent, GPT answers me :

The API tool used in this environment operates without explicitly revealing URLs. Instead, it is directly integrated into the system for making requests to specific endpoints based on parameters, such as body IDs, via the xxx.xxxxxxx.org interface.

Any help is welcome :slight_smile:

1 Like