Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

A foreign character é causes statusCode 400 #45

Open
gezichenshan opened this issue Aug 28, 2018 · 0 comments
Open

A foreign character é causes statusCode 400 #45

gezichenshan opened this issue Aug 28, 2018 · 0 comments

Comments

@gezichenshan
Copy link

gezichenshan commented Aug 28, 2018

I sent POST http request with this body to "/lists/{list_id} | Batch sub/unsub list members":

{
"members":
  [{"email_address":"[email protected]",
  "status":"subscribed",
  "merge_fields":{"FNAME":"César Octavio"}
  }],
"update_existing":true
}

and got

{
  "type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/",
  "title":"Invalid Resource",
  "status":400,
  "detail":"The resource submitted could not be validated. For field-specific details, see the 'errors' array.",
  "instance":"bae54115-1fd9-4d46-b203-775f0fdb063e",
  "errors":[{"field":"","message":"Schema describes object, NULL found instead"}]
}

I think it is this Spanish character é in "César Octavio" causes the issue. Because when I move it out, it works properly.

How can I fix it ? I worked a whole day trying to get it done but failed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant