422 Unprocessable Entity

47 views
Skip to first unread message

StaceyB

unread,
Nov 18, 2013, 4:42:50 PM11/18/13
to streamsend-...@googlegroups.com
About an hour ago we started receiving 422 Unprocessable Entity when trying to add or update subscribers. No changes have been made to our code in months.

example of an update:
PUT /audiences/1/people/224007.xml

<person>

<first-name>stacey</first-name>

<last-name>2iwi</last-name>

</person>
 


Which matches the example in the documentation:
PUT /audiences/1/people/1.xml

<person>
  <first-name>Billy</first-name>
  <last-name>Bob</last-name>
</person>

Did something change on your end? Is this a bug?

Mark Armistead

unread,
Nov 18, 2013, 7:24:21 PM11/18/13
to streamsend-...@googlegroups.com
Hi Stacy,

We identified an issue that is causing our system to not set the default content type on API requests. We are working on resolving this, but there is a workaround you can make in your code to get up and running. Set the the content-type to "application/xml" on your requests your calls should begin working.

Mark
StreamSend Support


--
 
---
You received this message because you are subscribed to the Google Groups "StreamSend API Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to streamsend-api-di...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages