The callout couldn’t access the endpoint. You might not have the required permissions, or the named credential “Named_Credential_API_Name” might not exist exception in Salesforce
Exception: The callout couldn't access the endpoint. You might not have the required permissions, or the named credential "Named_Credential_API_Name" might not exist exception in Salesforce Resolution: Please check the following ....