You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 12, 2019. It is now read-only.
the very first example code in the readme fails for me with:
/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/signet- 0.6.0/lib/signet/oauth_2/client.rb:947:in `fetch_access_token': Authorization failed. Server message: (Signet::AuthorizationError)
{
"error" : "invalid_request",
"error_description" : "Required parameter is missing: grant_type"
}
from /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/signet-0.6.0/lib/signet/oauth_2/client.rb:964:in `fetch_access_token!'
from /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/bigquery-0.7.0/lib/big_query/client.rb:42:in `refresh_auth'
from /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/bigquery-0.7.0/lib/big_query/client.rb:33:in `initialize'
from main.rb:13:in `new'
from main.rb:13:in `<main>'
The text was updated successfully, but these errors were encountered:
I was having the same issue and followed the steps exactly as given in the readme. I also checked to make sure that my computer clock was correct and that the secret key is valid and authorized the provided client_id within the scope of the big_query api.
I tried out the google-api-client gem directly and the exact code provided in the initialize function of BigQuery worked. Submitted a PR for updating the gem dependency.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
the very first example code in the readme fails for me with:
The text was updated successfully, but these errors were encountered: