Getting error while mutating customer manager link "Client has no active user that can access the client account."

22 views
Skip to first unread message

Jason f

unread,
Jun 25, 2019, 4:47:04 PM6/25/19
to AdWords API and Google Ads API Forum
Hello,

I am getting the following error while mutating the customer manager link with "mutateCustomerManagerLink".
Any idea what could be the cause ?

Response
--------
Headers: Metadata(content-type=application/grpc,request-id=JBh-_QtTXEELHTQmU75-Xw,date=Tue, 25 Jun 2019 20:38:47 GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")
Body: null
Failure message: errors {
  error_code {
    121: 9
  }
  message: "Client has no active user that can access the client account."
  location {
    field_path_elements {
      field_name: "operations"
      index {
      }
    }
  }
}

I am using the following code:

 GoogleAdsClient customerManagerClient = createCustomer.getGoogleAdsClient().toBuilder().setLoginCustomerId(Long.valueOf(customerId)).build();
 try (CustomerManagerLinkServiceClient client = customerManagerClient.getLatestVersion().createCustomerManagerLinkServiceClient()) {
MutateCustomerManagerLinkResponse response = client.mutateCustomerManagerLink(String.valueOf(customerId), Arrays.asList(customerManagerLinkOperation));
}

Regards,

Thank you!



Jason 

Google Ads API Forum Advisor Prod

unread,
Jun 26, 2019, 4:35:25 AM6/26/19
to ghostwol...@gmail.com, adwor...@googlegroups.com

Hi Jason,

Thank you for reaching out to us.

Could you kindly provide (via Reply privately to author) the JSON logs from the request that resulted in the error so that I can further investigate the issue?

Regards,
Ziv Yves Sanchez
Google Ads API Team



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