Not exactly your case, but could be helpful for someone. The same error message you can get in case you're using wrong credentials. Check that the user or a token exists, valid and it's scope allow you to do what you need.