spring-data-cosmosdb icon indicating copy to clipboard operation
spring-data-cosmosdb copied to clipboard

delete by id errors with "not found"

Open chrisgolle opened this issue 5 years ago • 1 comments

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

chrisgolle avatar Jun 04 '20 18:06 chrisgolle

@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.

kushagraThapar avatar Jun 26 '20 18:06 kushagraThapar