Hello Adwords API Team,

I am also experiencing the same Issue.I am using v201603 but suddenly from 
yesterday I am frequently getting error like 

vendor/googleads/googleads-php-lib/src/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php
 
: 119 : {
  "error" : "invalid_request"
}

I also tried upgrading to v201605 and v201607(latest version) but still 
facing same issue.

Can anyone please look into this its very critical issue?

Thanks,
Ronak Shah


On Wednesday, August 31, 2016 at 11:57:23 AM UTC+5:30, Sachin Kumar wrote:
>
> I am getting this error sice today morning. Earliear the app was working 
> fine. Now I am not knowing why this error is occurring.
>
>
> *Fatal error*: Uncaught exception 'OAuth2Exception' with message '{ 
> "error" : "invalid_request" }' in 
> /home/bergstromdev/public_html/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php:119
>  
> Stack trace: #0 
> /home/bergstromdev/public_html/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php(96):
>  
> SimpleOAuth2Handler->MakeRequest('https://account...', Array) #1 
> /home/bergstromdev/public_html/Google/Api/Ads/Common/Util/OAuth2Handler.php(116):
>  
> SimpleOAuth2Handler->RefreshAccessToken(Array) #2 
> /home/bergstromdev/public_html/Google/Api/Ads/Common/Lib/AdsSoapClient.php(452):
>  
> OAuth2Handler->GetOrRefreshAccessToken(Array) #3 
> /home/bergstromdev/public_html/Google/Api/Ads/Common/Lib/AdsSoapClient.php(199):
>  
> AdsSoapClient->GenerateHttpHeaders() #4 
> /home/bergstromdev/public_html/Google/Api/Ads/AdWords/v201603/CampaignService.php(8048):
>  
> AdsSoapClient->__soapCall('get', Array) #5 
> /home/bergstromdev/public_html/lib/Adwords.class.php(36): 
> CampaignService->get(Object(Selector)) #6 
> /home/bergstromdev/public_html/day_dev.php(81): Adwords->GetCampai in 
> */home/bergstromdev/public_html/Google/Api/Ads/Common/Util/SimpleOAuth2Handler.php*
>  
> on line 
>
>
>
>
> *119I am using php library of version v201603. Kindly let me know what is 
> wrong now with the app.Note:* If I refresh page multiple time them app 
> returning data but at first call it generates this above mentioned fatal 
> error. 
>
> Kindly reply asap because the site is stopped.
>
>
>
> Thanks & Regards
> Sachin Kumar
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b20e1d34-35a3-49ce-b792-a924da8c8ed5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
      • Re: F... Li Tan
      • Re: F... Mark Rogoyski
        • R... Collin Grady
          • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
            • ... an_api_user
              • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
              • ... Anthony Ly
      • Re: F... Sachin Kumar
        • R... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
  • Re: Fatal Erro... MCC Test
  • Re: Fatal Erro... Jeff Siebach
    • Re: Fatal... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
      • Re: F... Jean-Guy Speton
      • Re: F... Jeff Siebach
      • Re: F... Ronak Shah
        • R... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
      • Re: F... Li Tan
        • R... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum

Reply via email to