I am using the .NET client library and I think the issue was in using the AdWordsUser constructor with the dictionary. So I'm not seeing any authentication exceptions. I'm seeing different issues now.
I think it's probably due to the initial request size. The first request I make that generates the initial error has a content-length of 15 MB and is attempting to process 150K operations. I thought the bulk mutate service could support up to 500k operations. This request causes the unexpected error on send. Following requests generate a TOO_MANY_OPERATIONS_IN_REQUEST_PART error. I am limiting the number of operations to 10K per bulk mutate request. And I see there is a limit of 100 request parts. Is there a limit to the number of operations within the request part? On Feb 18, 7:44 am, AdWords API Advisor <[email protected]> wrote: > Hi Sidd, > > Are you using the .NET client library? Do you know if this error is > being generated during the request to the ClientLogin API (to get the > authToken) or to the AdWords API? How large are the requests you are > making? Are there any policies on your network that close long > running connections? > > Best, > - Eric Koleda, AdWords API Team > > On Feb 17, 7:20 pm, sidd <[email protected]> wrote: > > > Hi. > > > I've been having problems using the AdGroupCriterionService and the > > BulkMutateJobService. I get the same error when I attempt to run a > > series of mutate operations. > > > I'm using C# and the error I'm seeing is > > "The underlying connection was closed: An unexpected error occurred on > > a send." and > > > "Unable to write data to the transport connection: An established > > connection was aborted by the software in your host machine.: > > > With the stack trace referring to the attempt to write to an > > SSLStream. > > > I've tried sending an AuthToken along with my requests, but it does > > not work. My operations work against the sandbox, it's only when > > trying to use the production urls I see a problem. > > > Am I missing something in my configuration? It looks like it's > > something around authentication. I am getting the occasional > > authentication exception, but I think that may be due to too many > > attempts within 5 mins -- I'm unclear > > on what the limit is .. I just know it goes away after about that > > long. > > > Any help is greatly appreciated. > > > Thanks > > Sidd -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.
