MutateSharedSets method returns ResourceCountLimitExceededError wrapped in InternalError

51 views
Skip to first unread message

Dorian Kind

unread,
Aug 25, 2022, 4:06:45 AM8/25/22
to Google Ads API and AdWords API Forum
Hi there,

lately we've noticed that calling the SharedSetService's MutateSharedSets method with a MutateSharedSetsRequest that would exceed the limit of 20 Shared Sets per account sometimes doesn't throw the documented ResourceCountLimitExceededError directly, but wrapped inside an InternalError.

As an example, the MutateSharedSets request with the ID oajUG4YRvmyGj8Q1X5Pz5g returned the expected ResourceCountLimitExceededError.RESOURCE_LIMIT, whereas the request with ID 6r7V8LbRssgLqy9Ti_kwqQ resulted in an InternalError.INTERNAL_ERROR.

In the later case, the actual error is still available inside the errors field of the containing InternalError, but it's a bit more complicated to handle error responses that way.

Is this expected behavior? We only started seeing these instances a couple of weeks ago.

Thanks for any feedback & best regards,
Dorian

Google Ads API Forum Advisor

unread,
Aug 25, 2022, 4:43:55 AM8/25/22
to dor...@webrepublic.ch, adwor...@googlegroups.com

Hi Dorian,

Thank you for reaching out to our API support team.

Before answering your question/concern, Could you please provide us with the complete request and response logs with the request-id generated, so our team can better check the root cause of error?

For the client library, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. You can provide it via Reply privately to the author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead. Let me know if you have any questions.

 

Best Regards,

Google Logo
Anthony Cyril
Google Ads API Team
 


ref:_00D1U1174p._5004Q2dnSks:ref
Reply all
Reply to author
Forward
0 new messages