The GPT action is not triggering external API
I debugged my API endpoint and see no requests being received by the server. There is no extra debug information in the Action Console.
The API is working fine when i use curl, postman. Any guidance how to debug this kind of issue? I am just testing a API to get a list.
[debug] Calling HTTP endpoint
{
“domain”: “validDomain.io",
“method”: “post”,
“path”: “/api/v1/todoApp/getToDOList”,
“operation”: “getTodoList”,
“operation_hash”: "_____”,
“is_consequential”: true,
“params”: {}
}
There was an error generating a response
OpenAPI Spec
openapi: 3.0.0
info:
title: Todo App API
description: This API allows for managing a todo list, including adding, updating, and deleting todos.
version: 1.0.0
servers:
- url: https://validDomain.io
description: Main API server for Todo App
paths:
/api/v1/todoApp/getToDOList:
post:
operationId: getTodoList
summary: Get list of todos
description: Retrieves a list of all todos. The response includes each todo’s ID, title, and completion status.
requestBody:
required: true
content:
text/plain:
schema:
type: object
properties: {}
responses:
‘200’:
description: A successful response containing the list of todos. Each todo item includes an ID, title, and a boolean indicating if it’s completed.
content:
application/json:
schema:
type: object
properties:
status:
type: string
description: Indicates if the request was successful (‘SUCCESS’) or failed (‘FAILED’).
data:
type: array
items:
type: object
properties:
id:
type: string
description: Unique identifier for the todo.
title:
type: string
description: Title or description of the todo.
completed:
type: boolean
description: Indicates whether the todo is completed.