Users API invalid access token error

We tried accessing the get users api through the master account. We also included the user:read:list_users:master scope to the access token but still the api is giving this error:

Invalid access token, does not contain scopes:[user:read:list_users:master]