Your requirements reference a required accept value of:
"Accept:application/vnd.###.v1.0+json"
but your code references
"application/vnd.###.v2.0+json".
Are you sure you're not just correctly getting a 401 response for calling the wrong version of the API?