One possible reason can be that the document is not seeded on digilocker. In this case, you would be required to pass the parameters as provided in theGet List of all docs available” API. You may pass the name and value as keys within the parameter block in the fetch document API.