DFA Reporting API repeated "Internal Server Error"

204 views
Skip to first unread message

aa...@yahoo-inc.com

unread,
Aug 26, 2015, 1:31:13 PM8/26/15
to Google's DoubleClick for Advertisers API Forum
Hi,

I have been repeatedly encountering a `500 Internal Server Error` while trying to run the `com.google.api.services.samples.dfareporting.cmdline.DfaReportingSample.java` code.
I am trying to figure out if there is a configuration issue at my end or whether the server is actually experiencing outage.

This code had been working perfectly for me and is a quick go-to for diagnostics and debugging.

Any suggestions where the problem might be?

-Asad

Jonathon Imperiosi (DCM API Team)

unread,
Aug 26, 2015, 1:36:25 PM8/26/15
to Google's DoubleClick for Advertisers API Forum
Hi Asad,

Where, specifically, is the sample failing? I'm not aware of any issues with the API itself, but there's currently a Cloud Storage issue affecting some report downloads (more details here).

Regards,
- Jonathon Imperiosi, DCM API Team

Asad Ali

unread,
Aug 26, 2015, 1:45:28 PM8/26/15
to google-doubleclick-...@googlegroups.com
Hi Jonathan,

to be specific this is the observed error:

UserProfileList length ---
Setting DateRange
Polling again in 250 ms.
...
=================================================================
Retrieving and printing a report file for report with ID --------
The ID number of this report file is --------
=================================================================
500 Internal Server Error
<?xml version='1.0' encoding='UTF-8'?><Error><Code>InternalError</Code><Message>We encountered an internal error. Please try again.</Message><Details>AJ9oxLnTH5AhF7XoUrBPBpFusq5Hb9vWJa4sIGxz.....</Details></Error>
===========END===========

Best,
Asad




On Wednesday, August 26, 2015 10:37 AM, Jonathon Imperiosi (DCM API Team) <dfaapiad...@google.com> wrote:


Hi Asad,

Where, specifically, is the sample failing? I'm not aware of any issues with the API itself, but there's currently a Cloud Storage issue affecting some report downloads (more details here).

Regards,
- Jonathon Imperiosi, DCM API Team

On Wednesday, August 26, 2015 at 1:31:13 PM UTC-4, aa...@yahoo-inc.com wrote:
Hi,

I have been repeatedly encountering a `500 Internal Server Error` while trying to run the `com.google.api.services. samples.dfareporting.cmdline. DfaReportingSample.java` code.
I am trying to figure out if there is a configuration issue at my end or whether the server is actually experiencing outage.

This code had been working perfectly for me and is a quick go-to for diagnostics and debugging.

Any suggestions where the problem might be?

-Asad
--
You received this message because you are subscribed to a topic in the Google Groups "Google's DoubleClick for Advertisers API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-doubleclick-for-advertisers-api/evXdHs31GUA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-doubleclick-for-ad...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jonathon Imperiosi (DCM API Team)

unread,
Aug 26, 2015, 1:52:35 PM8/26/15
to Google's DoubleClick for Advertisers API Forum, aa...@yahoo-inc.com
Hi Asad,

Thanks for the info, it looks like things are working up until the report file download portion of the sample. That leads me to believe that this is in fact related to the ongoing Google Cloud Storage incident. You can follow the GCS incident status page I linked previously for the most up to date info on when this will be resolved.

Regards,
- Jonathon Imperiosi, DCM API Team

To unsubscribe from this group and all its topics, send an email to google-doubleclick-for-advertisers-api+unsubscribe@googlegroups.com.

aa...@yahoo-inc.com

unread,
Aug 26, 2015, 1:53:05 PM8/26/15
to Google's DoubleClick for Advertisers API Forum

EDIT: This call results in the exception being recorded

com.google.api.services.samples.dfareporting.cmdline.DownloadReportFile.java

HttpResponse fileContents = reporting.files()

        .get(reportFile.getReportId(), reportFile.getId())

        .executeMedia();


-A
To unsubscribe from this group and all its topics, send an email to google-doubleclick-for-advertisers-api+unsubscribe@googlegroups.com.

aa...@yahoo-inc.com

unread,
Aug 26, 2015, 1:54:15 PM8/26/15
to Google's DoubleClick for Advertisers API Forum
Yes, I will monitor that status page.

Thank you!

-A
Reply all
Reply to author
Forward
0 new messages