-
Notifications
You must be signed in to change notification settings - Fork 78
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
firestore.Increment returns error: "TypeError: Not a cmessage" #778
Comments
exact same problem, nothing on internet helps. seems only few people like you and me getting this. |
Same also have this error and sometimes bumping the version of the library helps. But I'm already at latest now... |
Now i am facing firestore.Increment function does nothing to the actual data field, and no error at all. |
@hansheng654 Based on this comment, I changed urllib3 package version to |
Hi @akashrajkn, thanks for filing this and providing an example. I tried this out with the latest version of the library (2.15.0) and was unable to reproduce this. Here's what I did:
I also tried different numbers, like |
@kolea2 Thanks for the reply! With version |
Awesome, thanks for confirming! |
Getting this same message, version 2.17.0, trying to execute this line:
Writing to the emulator, not the actual cloud. Recently did a pip install -r requirements.txt and it seemed to break this, worked before. Unfortunately I don't have that log so can't say exactly what upgraded. message:
|
Environment details
Ubuntu 22.04
3.10.13
23.2.1
google-cloud-firestore
version:2.11.0
Steps to reproduce
Run below code.
duration
is a float.total_duration
field's type is NumberRelevant package versions
Code example
Stack trace
The text was updated successfully, but these errors were encountered: