Google Analytics API - Error occurred while sending the request
See original GitHub issueHello,
What steps will reproduce the problem?
1.I am using a windows service (c# code) to pull the google analytics data.
(everything works on my local machine but I am getting an error when I deploy
the windows service on a test server).
2.The error I am getting:
ErrorMessage: An error occurred while sending the request
StackTrace: at Google.Apis.Requests.ClientServiceRequest`1.Execute() in
c:\code\google.com\google-api-dotnet-client\default\Tools\Google.Apis.Release\bi
n\Debug\test\default\Src\GoogleApis\Apis\Requests\ClientServiceRequest.cs line
96
What version of the product are you using?
<package id="Google.Apis" version="1.9.0" targetFramework="net451" />
<package id="Google.Apis.Analytics.v3" version="1.9.0.1000" targetFramework="net451" />
<package id="Google.Apis.Auth" version="1.9.0" targetFramework="net451" />
<package id="Google.Apis.Core" version="1.9.0" targetFramework="net451" />
What is your operating system?
Windows 7
What is your IDE?
Microsoft Visual Studio 2013
Thank you!
Original issue reported on code.google.com by alz.anal...@gmail.com
on 4 Dec 2014 at 5:23
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Error Responses | Analytics Core Reporting API
If a Core Reporting API request is successful, the API returns a 200 status code. If an error occurs with a request, the...
Read more >Google Analytics Errors - Tag Assistant Help
This error denotes that the call to google-analytics.com/urchin.js was not made and the request is missing from the JavaScript. Omitting the call to...
Read more >400 Bad Request when using Google.Apis.Analytics.v3
The error itself is: Error occurred while sending a direct message or getting the response. Google's API documentation says that a 400:Bad ...
Read more >Quota Error: The number of recent reporting API requests ...
This error which you're encountering is similar to a Google Analytics API quota limit, which can occur if you've been making a number...
Read more >(500) There was an internal error - For Most of the time
to Google Analytics Reporting API. Hello Members,. I am getting (500) There was an internal error. For all my requests.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@LindaLawton this was an automated task that was modified to assigned old closed issues, and have ended up erronously assigning to some users. The automation team and @JustinBeckwith are aware of the surprise this is causing. Sorry for any inconvenience, but please just ignore.
@JustinBeckwith you know i don’t work for google right? (Not for lack of trying.) That being said I am not sure assigning it to me is your best option.
that being said
The user is probably using
GoogleWebAuthorizationBroker.AuthorizeAsync
which is designed for installed applications and will not work when deployed to a webserver as its trying to open the authorization browser window on the server rather then on the client machine.Recommend close as this nothing to fix especially without seeing code.