-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Normally this document shouldn't exist as it was deleted using cleint.delete but for some reason, it still exists on /query as a full document, and on the studio as an empty document!
Making an HTTP request to the /query endpoint
https://<<acc_id>>.api.sanity.io/v2021-06-07/data/query/production/?query=*[_id == "1GTUUGED6PZ227984"]{_id}
Returns (normally it should not return the document as it was deleted!)
{
"query": "*[_id == \"1GTUUGED6PZ227984\"]{_id}",
"result": [
{
"_id": "1GTUUGED6PZ227984"
}
],
"ms": 13
}
Making same HTTP request to /doc endpoint
https:/<<acc_id>>.api.sanity.io/v2021-06-07/data/doc/production/1GTUUGED6PZ227984
Returns (which is correct)
{
"documents": [],
"omitted": [
{
"id": "1GTUUGED6PZ227984",
"reason": "existence"
}
]
}
P.S. It's not only one single document, it's more than 200 documents.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
