I tried creating inserting a document in a document library using pnp js library. Problem comes in a specific case:
- A document is inserted in a library.
- Now this document is deleted and sent to recycle bin.
- The same document is uploaded is uploaded again in the same library from local desktop.
- Now when I try updating the corresponding Metadata in a second call, wrong id of the document is received. The id received is of the document which was deleted and is present in the recycle bin.
Any suggestions why this case is produced?