You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API response from Mailchimp for segments returns the Segment Id as a type Integer (https://mailchimp.com/developer/marketing/api/list-segments/list-segments/) but the Segment struct contains a type string for the ID. This causes an unrecoverable error when fetching segments via the GetSegments function of the ListReponse during the json unmarshaling process, specifically: Error getting segments: json: cannot unmarshal number into Go struct field Segment.segments.id of type string.
The text was updated successfully, but these errors were encountered:
The API response from Mailchimp for segments returns the Segment Id as a type Integer (https://mailchimp.com/developer/marketing/api/list-segments/list-segments/) but the Segment struct contains a type string for the ID. This causes an unrecoverable error when fetching segments via the GetSegments function of the ListReponse during the json unmarshaling process, specifically: Error getting segments: json: cannot unmarshal number into Go struct field Segment.segments.id of type string.
The text was updated successfully, but these errors were encountered: