What I have and what\'re problems occurred:
I found that I received the same error when I requested the permission: "offline_access". When I stopped asking for this permission, the error went away.