The expected status code <codeID> does not match with the returned code <codeID>.

Error code: 0x80017002L

Problem

This happens because the expected HTTP status code, defined in the send http request built-in action, does not match with the actual HTTP status code returned by the web service.

Solution

Refer to the list of predefined HTTP status Code .For example:
  • 200 means that the request was successfully received, understood, and accepted.
  • 404 means that the server has not found anything matching the request-URI.