I am calling a simple API , Authentication is not required, is is secured with https, the API and that specific EP seems to be working but action repeatedly gets an Client Response Error. Is there something wrong with logic in my schema or maybe is there a restriction to chatGPT actions that I don’t know about.
Scheme:
openapi: “3.1.0”
info:
version: 1.0.0
title: Taxshield
servers:
- url: url
paths:
/app/someEp/{id}:
get:
summary: Object with id key
operationId: getObjectById
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
‘200’:
description: Object with an Id
content:
application/json:
schema:
$ref: “#/components/schemas/ObjectWithId”
‘404’:
description: Object not found
content:
application/json:
schema:
$ref: “#/components/schemas/ErrorResponse”
‘500’:
description: Server error
content:
application/json:
schema:
$ref: “#/components/schemas/ErrorResponse”
‘default’:
description: Unexpected error
content:
application/json:
schema:
$ref: “#/components/schemas/ErrorResponse”
components:
schemas:
ObjectWithId:
type: object
properties:
id:
type: string
name:
type: string
tag:
type: string
ErrorResponse:
type: object
properties:
message:
type: string
error_code:
type: integer