openAI Schema to access youtube transcripts

Hello,
I am trying to add an Action to my ChatGPT via the Schema to access the Youtube API to download a video transcript when given a video link.
I tested my API key via a direct URL link and it works fine but the GPT keeps throwing an error that there is an issue with the API Key.

I was hoping someone could take a look at the code and see if that’s where the problem is:

openapi: 3.1.0
info:
  title: YouTube API
  description: API to retrieve YouTube video details and captions using a video link.
  version: 1.0.0
servers:
  - url: https://www.googleapis.com/youtube/v3
    description: YouTube API server
paths:
  /videos:
    get:
      operationId: getVideoDetails
      summary: Retrieve details of a YouTube video using the video link.
      parameters:
        - name: videoLink
          in: query
          required: true
          schema:
            type: string
          description: The full YouTube video link.
        - name: key
          in: query
          required: true
          schema:
            type: string
          description: Your YouTube API Key.
      responses:
        '200':
          description: Video details retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VideoDetailsResponse'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: query
      name: key
  schemas:
    VideoDetailsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              snippet:
                type: object
                properties:
                  title:
                    type: string
                  description:
                    type: string
                  channelTitle:
                    type: string
security:
  - apiKeyAuth: []

Hi newimaging,

Thanks for reaching out! Please note that the tag Application Integration is specifically for App Integration product. If it’s not for it, kindly suggest to use the proper tag for faster routing.

Regards,

Haitao

Thanks, I tried to change it, so hopefully, I got the right one with “Integration Connectors”