Chatgpt Actions to interact with Dropbox

Hello,

i am trying to use chatgpt actions to get and put files to my dropbox account. in below spec file, i am just trying to download /transactions.csv from root folder of my dropbox.

with curl command, it works perfectly fine but using chatgpt throws error.

Could you please confirm if there’s an issue with my implementation or if additional headers or configurations are required to prevent the request body is supposed to be empty error?

i get below response from API:

{ “response_data”: “Error in call to API function "files/download": The request body is supposed to be empty, but it isn’t; got "{}"”, “status_code”: 400, “action_id”: “g-d9e5d6855647322df1b771ba6c20113613691c5e” }

Below is my chatgpt spec file:

openapi: 3.1.0
info:
title: Dropbox File Management API
version: 1.0.0
servers:

  • url: https://content.dropboxapi.com/2
    paths:
    /files/download:
    post:
    summary: Download a file from Dropbox
    description: Downloads the file transactions.csv from Dropbox.
    operationId: downloadFile
    parameters:
    - name: Dropbox-API-Arg
    in: header
    required: true
    description: JSON string specifying the path to the file to be downloaded.
    schema:
    type: string
    example: ‘{“path”: “/transactions.csv”}’
    responses:
    ‘200’:
    description: File downloaded successfully.
    content:
    application/octet-stream:
    schema:
    type: string
    format: binary
    ‘401’:
    description: Unauthorized.
    ‘404’:
    description: File not found.
    ‘500’:
    description: Internal server error.
    security:
    - bearerAuth:
    components:
    securitySchemes:
    bearerAuth:
    type: http
    scheme: bearer
    bearerFormat: JWT
    schemas: {}