I developed a Workflow that uses http call webservice in our devlopment site on O365. When I rebuilt the identical workflow in production, it fails with the error:
System.IO.InvalidDataException: Unable to deserialize HTTP response content. Expected ContentType : 'application/json', 'text/plain' or 'text/html', Received ContentType : 'application/atom+xml'
This indicates to me that the headers that specify Json response are not getting to SharePoint.
I am setting the request headers in both calls the same - and the log shows the values are the same in both:
What could be different in the two environments - and what would I have to change to make it work in production?