Hi everyone,
I’m facing an issue with the use of ChatGPT actions within my agent. Specifically, when I attempt to add an action using the schema (see below), I encounter a ClientResponseError
during testing. Interestingly, I can access the required data without any issues locally using curl.
I would like to bring up two key points and would appreciate any advice from those who have experience with this situation:
- Is there a way to obtain the exact error message from the ChatGPT environment? It would greatly help me in identifying the root cause of the issue.
- Are there any changes/faults in my YAML schema that I should consider to prevent this error?
For context, I want to mention that no authorization is needed to access the data, which may be relevant to the troubleshooting process.
Any insights or advice would be greatly appreciated!
Thank you!
openapi: 3.1.0
info:
title: NAME API
description: API to retrieve project information from XX.
version: 1.0.0
servers:
- url: XXX
description: XX API Server
paths:
/XX:
get:
operationId: getProject
summary: Retrieve project information
description: Fetches details about the available project in XX.
responses:
"200":
description: Successfully retrieved project data.
content:
application/json:
schema:
type: object
properties:
project:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
description:
type: string
"400":
description: Bad request, invalid parameters.
"500":
description: Server error.