I'm having a problem where I'm trying to create an asset_set through the API using Python.
The code looks like this:
business_profile_location_set = client.get_type("BusinessProfileLocationSet")
business_profile_location_set.http_authorization_token = 'OMITTED'
business_profile_location_set.email_address = 'OMITTED'
location_set.business_profile_location_set.CopyFrom(business_profile_location_set)
asset_set.location_set.CopyFrom(location_set)
The error I get:
errors {
error_code {
field_error: REQUIRED
}
message: "The required field was not present."
location {
field_path_elements {
field_name: "operations"
index: 0
}
field_path_elements {
field_name: "create"
}
field_path_elements {
field_name: "location_set"
}
field_path_elements {
field_name: "business_profile_location_set"
}
}
}
Although business_profile_location_set clearly is set.
Is there anything to do about this?