Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload File Responses with Empty JSON #115

Open
ghost opened this issue Feb 3, 2022 · 0 comments
Open

Upload File Responses with Empty JSON #115

ghost opened this issue Feb 3, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 3, 2022

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)

@ghost ghost changed the title Upload File Response with Empty JSON Upload File Responses with Empty JSON Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants