microsoft / spring-data-cosmosdb

Access data with Azure Cosmos DB
MIT License
94 stars 64 forks source link

delete by id errors with "not found" #541

Open chrisgolle opened 4 years ago

chrisgolle commented 4 years ago

i have a simple crud repo with 2 methods, findById(String id) and deleteById(String id)

findById(String id) works as expected, returning the document with the given id. deleteById(String id) errors with a not found error, even when called with the same argument passed to findById which succeeded one line earlier

kushagraThapar commented 4 years ago

@chrisgolle - can you please paste the complete error stack trace ?

Also, as an update, this repo is now being moved to azure-sdk-for-java : https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/cosmos/azure-spring-data-cosmosdb So going forward, all the issues should be created there. The repo movement is not yet complete and currently in progress.. Once it is completely moved, I will post an update on this repo.