AdsCommon::Errors::AuthError Authorization error occured: Authorization failed.
Server message:
{"error" : "invalid_grant", "error_description" : "Code was already redeemed."}this is the part of autorization
def google_oauth2_callback
api = AdwordsApi::Api.new(Rails.application.config_for(:adwords_api))
session[:token] = api.authorize \
oauth2_callback: user_omniauth_callback_url(:google_oauth2),
oauth2_verification_code: params[:code]I'm using: Rails + devise + omniauth-google-oauth2
And also I added the adwords scope