ApiException: An internal error has occurred. Please retry your request.

21 views
Skip to first unread message

BG

unread,
Jun 30, 2008, 2:44:58 PM6/30/08
to AdWords API Forum
I get this error when I'm calling validateReportJob webservice

ApiException: An internal error has occurred. Please retry your
request.

If i change the column name in setSelectedColumns to deliberately
introduce an error, i get the expected error "One or more report job
parameters is invalid."

What causes the "ApiException: An internal error has occurred. Please
retry your request "

BG

unread,
Jun 30, 2008, 4:07:06 PM6/30/08
to AdWords API Forum
Endpoint for the webservice is;

https://adwords.google.com/api/adwords/v12/ReportService

Can someone please help?

AdWords API Advisor

unread,
Jul 1, 2008, 12:04:02 PM7/1/08
to AdWords API Forum
Hello,

The "An internal error has occurred." is obviously very non-specific,
and I can't tell you exactly what's causing it without checking the
logs on our end. What I'd need to do that is the requestId value from
the response SOAP header in the error response you're receiving:

http://www.google.com/apis/adwords/developer/index.html#adwords_api_intro_response

Cheers,
-Jeff Posnick, AdWords API Team

BG

unread,
Jul 10, 2008, 7:31:26 PM7/10/08
to AdWords API Forum
This time I'm using the Sandbox environment. I get the same error,
below is the requestId value.

<requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v12">8dd1dabf05bab048b33392175d1c3242</requestId>

On Jul 1, 9:04 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hello,
>
>  The "An internal error has occurred." is obviously very non-specific,
> and I can't tell you exactly what's causing it without checking the
> logs on our end. What I'd need to do that is the requestId value from
> the response SOAP header in the error response you're receiving:
>
>  http://www.google.com/apis/adwords/developer/index.html#adwords_api_i...

BG

unread,
Jul 13, 2008, 7:53:11 PM7/13/08
to AdWords API Forum
Can someone please help with this issue, i have posted the requestId
value from the response soap header.

On Jul 10, 4:31 pm, BG <bijugeo...@yahoo.com> wrote:
> This time I'm using the Sandbox environment. I get the sameerror,
> below is the requestId value.
>
>  <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
> soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
> adwords/v12">8dd1dabf05bab048b33392175d1c3242</requestId>
>
> On Jul 1, 9:04 am, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
>
> > Hello,
>
> >  The "Aninternalerrorhas occurred." is obviously very non-specific,
> > and I can't tell you exactly what's causing it without checking the
> > logs on our end. What I'd need to do that is the requestId value from
> > the response SOAP header in theerrorresponse you're receiving:
>
> >  http://www.google.com/apis/adwords/developer/index.html#adwords_api_i...
>
> > Cheers,
> > -Jeff Posnick, AdWords API Team
>
> > On Jun 30, 4:07 pm, BG <bijugeo...@yahoo.com> wrote:
>
> > > Endpoint for the webservice is;
>
> > >https://adwords.google.com/api/adwords/v12/ReportService
>
> > > Can someone please help?
>
> > > On Jun 30, 11:44 am, BG <bijugeo...@yahoo.com> wrote:
>
> > > > I get thiserrorwhen I'm calling validateReportJob webservice
>
> > > > ApiException: Aninternalerrorhas occurred.  Please retry your
> > > > request.
>
> > > > If i change the column name in setSelectedColumns to deliberately
> > > > introduce anerror, i get the expectederror"One or more report job
> > > > parameters is invalid."
>
> > > > What causes the "ApiException: Aninternalerrorhas occurred.  Please
> > > > retry your request "

BG

unread,
Jul 15, 2008, 11:57:24 AM7/15/08
to AdWords API Forum
I would appreciate any pointer in resolving this ApiException. I'm
calling validateReportJob webservice.

Posting new requestId value in the response SOAP header, this time
calling adwords endpoint (not sandbox)

<requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v12">8400a0105d646623454b6b895486f2ec</requestId>

AdWords API Advisor

unread,
Jul 15, 2008, 2:41:56 PM7/15/08
to AdWords API Forum
Apologies, I've been having a little trouble retrieving the logs from
the Sandbox environment--it's a different procedure from pulling the
production logs. Is that last RequestId you gave,
8400a0105d646623454b6b895486f2ec, from production or the Sandbox?

Cheers,
-Jeff Posnick, AdWords API Team


BG

unread,
Jul 15, 2008, 6:14:02 PM7/15/08
to AdWords API Forum
RequestId 8400a0105d646623454b6b895486f2ec - This is from production.

RequestId 8dd1dabf05bab048b33392175d1c3242 - This is from sandbox.



On Jul 15, 11:41 am, AdWords API Advisor
> > > > > > > retry your request "- Hide quoted text -
>
> - Show quoted text -

AdWords API Advisor

unread,
Jul 16, 2008, 11:38:08 AM7/16/08
to AdWords API Forum
Thanks, BG, I was able to pull your request. The underlying exception
causing the Internal Error is due to the fact that you are specifying
<ns0:startDay xsi:nil="1"/> and <ns0:endDay xsi:nil="1"/> for your
report dates, but you're scheduling a Campaign report, which requires
valid values for the date range. If you had left out those elements
completely you should have gotten a normal validation error, but
explicitly passing in nil values for them triggered an internal
exception.

So, if you try the report again with valid start and end dates you
should hopefully be good to go.

Cheers,
-Jeff Posnick, AdWords API Team


BG

unread,
Jul 16, 2008, 4:36:15 PM7/16/08
to AdWords API Forum
Thank you, I fixed this issue. Now i'm able submit reports
successfully.

On Jul 16, 8:38 am, AdWords API Advisor <adwordsapiadvi...@google.com>
Reply all
Reply to author
Forward
0 new messages