Not able to access the list of document types

Either you don't have access to any document type, or your roles do not include the following aggregate privilege - "Use REST Service - HR Document Types List of Values", check the document security profile and see if the required document type is added or not.

I hope this blog post was helpful for you. If you have any questions or feedback, please leave a comment below.