Hello,
Am trying to Mutate Customer Labels, (assign a label of a managing account to a managed account).
The request looks like (Go):
operations = append(operations, &services.CustomerLabelOperation{
Operation: &services.CustomerLabelOperation_Create{
Create: &resources.CustomerLabel{
Customer: &wrappers.StringValue{
Value: resourcenames.Customer(req.AccountId),
},
Label: &wrappers.StringValue{
Value: resourcenames.Label(parsedManagerAccountID, labelID),
},
},
},
})
if _, err := s.CustomerLabelServiceClient.MutateCustomerLabels(ctx, &services.MutateCustomerLabelsRequest{
CustomerId: fmt.Sprint(req.AccountId),
Operations: operations,
}); err != nil {
return nil, err
}
The problem is the error response details am getting just return:
Request contains an invalid argument.
The error code is not in this version.
This suggests that the error enum is missing a case. There is no unpublished error like there is in some other situations like this.