Error running query: UUID('...') is not JSON serializable
See original GitHub issueIssue Summary
Querying mongo collection with UUID field fails with error.
Steps to Reproduce
- Run query
{ "collection": "myCollection", "query": { "foo": "bar" } }
- Observe error
Error running query: UUID('xxx') is not JSON serializable
Technical details:
Redash 3.0.0+b3134
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
UUID('...') is not JSON serializable - python - Stack Overflow
I had this same problem with a UUID field in a database model that I wanted to print out for debugging.
Read more >Fixing UUID is not JSON serializable - Arthur Pemberton
I recently upgraded a Django project to version 1.8, and I am happily using Postgresql and Django's new UUIDField . While using django-eztables ......
Read more >Object of type UUID is not JSON serializable #586 - GitHub
I'm passing in a UUID as a part of my extra data and getting this error Object of type UUID is not JSON...
Read more >Object of type <Foo> is not JSON serializable (in Array)
Coding example for the question TypeError: Object of type is not JSON serializable (in Array)
Read more >apache_beam.io.gcp.bigquery_tools - Apache Beam
Returns: A TableSchema of the BigQuery export from either the Query or the ... was a dry run then the fact that we...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did you ever find a solution for this?
I’m pretty sure this was fixed a while ago by switching to simplejson and using our encoder that supports UUID.