Closed yosle closed 11 months ago
Hi @yosle looks like it's because you're using an object here: "Properties": {}
but it should be a string actually. So, in this case, when you don't have any additional property, you can pass an empty string like this: "Properties": ""
. Otherwise, you can use a JSON.stringify()
function for your object.
I'm using this function to add a contact to a contactList, (reference: https://dev.mailjet.com/email/reference/contacts/subscriptions#v3_post_contactslist_list_ID_managecontact). According to the documentation if the contact does not exist a new one , should be created under the hood. but i keep getting this strange 404 not found error. I checked the contactList Id exist and not sure what's the issue here.
complete error: