-
Notifications
You must be signed in to change notification settings - Fork 47
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
Error when creating file #80
Comments
Hi there! Could you please share the Pipedrive.net version you're using? Can you try with the I tried with the latest version and it works: var file = System.IO.File.ReadAllBytes("a_file.pdf");
await client.File.Create(new NewFile(new RawFile("a_file.pdf", file, "application/pdf")) { DealId = 1 }); |
Hi David, Thank you for the fast response. So maybe settings in the pipedrive account are wrong. |
I also tried on a sandbox account! |
Hello David, Thank you for the feedback |
Hi David, So apparently this bug was never fixed and now it causes problems for me. |
Describe the bug
I get an error when i call _client.File.Create()
This stopped working a week ago 😭
Message
Error converting value {null} to type 'System.Int64'. Path 'data.file_size', line 1, position 201.
Stack:
My method:
The text was updated successfully, but these errors were encountered: