Google Ads call produces a grpc error: InvalidFlags

210 views
Skip to first unread message

V Kuznetsov

unread,
Apr 14, 2020, 8:22:18 PM4/14/20
to AdWords API and Google Ads API Forum
Hello, 

I am getting this cryptic error when I call Google Ads api:
System.InvalidOperationException: Call error: InvalidFlags
   at Grpc.Core.Internal.CallErrorExtensions.CheckOk(CallError callError)
   at Grpc.Core.Internal.CallSafeHandle.StartUnary(IUnaryResponseClientCallback callback, Byte[] payload, WriteFlags writeFlags, MetadataArraySafeHandle metadataArray, CallFlags callFlags)
   at Grpc.Core.Internal.AsyncCall`2.UnaryCallAsync(TRequest msg)
   at Grpc.Core.Calls.AsyncUnaryCall[TRequest,TResponse](CallInvocationDetails`2 call, TRequest req)
   at Grpc.Core.DefaultCallInvoker.AsyncUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.<AsyncUnaryCall>b__4_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx)
   at Google.Ads.GoogleAds.Interceptors.GoogleAdsGrpcInterceptor.AsyncUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, AsyncUnaryCallContinuation`2 continuationCallback)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.AsyncUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.<AsyncUnaryCall>b__4_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx)
   at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.AsyncUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, AsyncUnaryCallContinuation`2 continuation)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.AsyncUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
   at Google.Ads.GoogleAds.V3.Services.CustomerService.CustomerServiceClient.ListAccessibleCustomersAsync(ListAccessibleCustomersRequest request, CallOptions options)
   at Google.Api.Gax.Grpc.ApiCall.GrpcCallAdapter`2.CallAsync(TRequest request, CallSettings callSettings)
   at Google.Api.Gax.Grpc.ApiCall.GrpcCallAdapter`2.CallSync(TRequest request, CallSettings callSettings)
   at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass1_0`2.<WithRetry>b__0(TRequest request, CallSettings callSettings)
   at Google.Ads.GoogleAds.V3.Services.CustomerServiceClientImpl.ListAccessibleCustomers(ListAccessibleCustomersRequest request, CallSettings callSettings)
   at Google.Ads.GoogleAds.V3.Services.CustomerServiceClient.ListAccessibleCustomers()

What possibly could be the reason for this?
Thank you.

Google Ads API Forum Advisor Prod

unread,
Apr 15, 2020, 1:57:02 PM4/15/20
to vla...@gmail.com, adwor...@googlegroups.com
Hi V,

Thank you for reaching out to us. This error looks to be an issue with the client library. Could you go to the github page for the client library you've chosen and post this concern under the "Issues" tab, and our client library support team will be more than happy to assist you with your concern. Let me know if you have further questions.

Thank you,
Bryan, Google Ads API Team

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