For the SAP Connector, you receive this error:
IDOC_ERROR_PARSE_FAILURE: Missing required SEGMENT attribute in start tag within IDocXML for type : state=READING_SEGMENT_STARTTAG
This error message usually indicates that in your IDOC request, the value is missing for SEGMENT attribute.
You will need to check the request data and find out which element has SEGMENT attribute value missing.
Then set a default value within the map to populate the SEGMENT attribute.