API3
tijs at June 12th, 2014 08:01 — #1
Hi,
I am trying to update an existing contact ( something that was working before ) and am getting the following error message:
{
"status": 400,
"message":"Invalid request data",
"error_message":"Can't update a contact, tags are not an array, you gave, ''"
}
I am not sending any tags, has this become required? I do not seem to have this problem when creating a contact.
Any ideas?
Thanks in advance!
ruairi at June 12th, 2014 09:58 — #2
Have you tried using:
PUT app.onepagecrm.com/api/v3/contacts/{id}?partial=1
to create the contact?
pete_onepagecrm at June 12th, 2014 10:15 — #3
Hi @tijs - you're right, this is a regression in our latest release.
We will get a patch ready ASAP.
pete_onepagecrm at June 12th, 2014 10:48 — #4
@tijs that fix has been pushed. Sorry for the inconvenience.
Remember that a PUT
without the partial=1
will override any fields that are not specified in the update.
tijs at June 12th, 2014 11:06 — #5
Hi,
Thanks for the quick follow-up! Really appreciate it!
Powered by Discourse, best viewed with JavaScript enabled