Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

delete by id errors with "not found" #541

Open
chrisgolle opened this issue Jun 4, 2020 · 1 comment
Open

delete by id errors with "not found" #541

chrisgolle opened this issue Jun 4, 2020 · 1 comment

Comments

@chrisgolle
Copy link

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
Copy link
Collaborator

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants