Error while trying to fetch logo using Google cloud vision

While trying to fetch logo from image using Google cloud vision, i created client id and secret key,then added both in Google vision scope. Then it asked access to drive and i approved it.When i ran my code,it shows error like this
Google Vision Scope: The client did not complete the token exchange after the default 0 seconds, and as a result the operation was canceled.
Is any solution to resolve this?