"Uncaught exception in the SynchronizationContext. Panic! java.lang.IllegalStateException: Could not find policy 'pick_first"

1,586 views
Skip to first unread message

Ajit Trivedi

unread,
Apr 7, 2022, 1:34:30 AM4/7/22
to Google Ads API and AdWords API Forum
Hi, 
I am trying to upload userList by using uploadUserData method of google ads api but i am getting following exception.
pr 07, 2022 5:28:33 AM io.grpc.internal.ManagedChannelImpl$2 uncaughtException
SEVERE: [Channel<1>: (googleads.googleapis.com:443)] Uncaught exception in the SynchronizationContext. Panic!
java.lang.IllegalStateException: Could not find policy 'pick_first'. Make sure its implementation is either registered to LoadBalancerRegistry or included in META-INF/services/io.grpc.LoadBalancerProvider from your jar files.
    at io.grpc.internal.AutoConfiguredLoadBalancerFactory$AutoConfiguredLoadBalancer.<init>(AutoConfiguredLoadBalancerFactory.java:92)

I have followed the exact steps mentioned in the doc still i am getting this?
How this can be fixed?
Thanks and Kind Regards,
Ajit

Google Ads API Forum Advisor

unread,
Apr 7, 2022, 3:01:08 AM4/7/22
to ajit.triv...@gmail.com, adwor...@googlegroups.com

Hi Ajit,

Thanks for reaching out to the Google Ads API Forum.

Upon checking the log traces, it appears that the error seems to be related to the client libraries and not the API. You might find this post on the Github Issue Tracker useful to mitigate the error faced on your end. If not, I would recommend posting your concern on the Github Issue Tracker as Java client libraries team will be able to assist you better with your concerns. 

Let us know if you have any further questions.

Regards,

Google Logo
Yasar
Google Ads API Team
 


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