Api Usage Oauth2 token error

Which end points are you calling?

Can you show your code (with secrets remove/replaced)