document deleted or not exist

Dear Team,

Interface error : document does not exist or deleted error appearing.

We have document id with us , todocument(docid) is giving us document name , but the same same documentid when we are passing to document() it is throwing the same error.

We are also not able to search document in objects using doc id. Any idea ?

  Discussion posts and replies are publicly visible