I'm trying to create a new custom Activity on a lead using the REST API and PHP:
[success] =>
[errors] => Array
(
[0] => stdClass Object
(
[code] => 612
[message] => Invalid Content Type
)
)
Post the request payload, not just the error (and try to use a monospace font for sanity!). Code 612 is straightforward: you need C-T: application/json.
@Sanford
I had the wrong structure for the request but I fixed it.
Thanks
OK, pls mark my post as Correct for future searches.