Skip to content

Upload File Responses with Empty JSON #115

Description

Describe the bug
I am getting the following error when trying to Upload a File
Error from HubSpot, JSONResponse=Empty

Repro Steps

  1. I am initiating a new FileHubSpotModel with the following properties: File, Name, Hidden.
  2. File is been retrieved as byte[] from an s3 bucket.
  3. Then i am calling the File.Upload method passing the file create on step1.
  4. At step 3 I am getting the Error mentioned above

Screenshots
image

Anything else?*
On your documentation, you are using .Upload without specifying the Type. .net 5 complained about that so I had to type it as follow:
.Upload<FileHubSpotModel>(file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions