Thanks for your answers. The most interesting thing is the issue affected 3 databases and one of them was no used since I started to use Cosmos DB. I'd like to notice that there weren't any problems with the same code while using Contoso. The types is correct, I use pydantic to validate data types. Unfortunately I can't provide code because of the project owned by my company and there's a lot of code to paste it here. I just do not understand how it has happened and why quotes were removed from original data. For now we removed broken databases and migrate ones from contoso one more time. It's ok in the present time but I worry if the problem will come out again.
Cosmos DB converts arrays and objects into string format
Alexey Mavrin
0
Reputation points
Hello. I've faced with interesting issue while using Cosmos DB. I use the database about a month and everything was fine until last Friday and I got a problem with my python application using Cosmos DB. I started to browse documents in database and found out that some fields were converted from arrays and objects into strings and all quotes were removed from original values and keys. For instance original field stored an object like {"name": "John"} after the issue the field contains {name:John} as a string type. Could you provide any possible reasons of the issue?