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

Server to Server Oauth contains scope for user:read:user:master but when trying to connect we are getting error 4711 message Invalid access token does not contain scopes:

user:read:user:master

I have tried giving all permissions but to no avail. I have also looked at previous tickets regarding similar issues. Any help would be appreciated. See screenshot