Bad Format

Similar to unexpected token, bad format errors occur when the submitted format does not meet the required format. The error message may give the line and position of the error.

 

SUBMITTED

<ibdoc>
	<datarequest project_id="1" env_def="RM">
		<program parent_id="8659" id="0" ver="0" datemask='mm/dd/yyyy'>
			<m i="6" r="1" product_id="101">
		</program>
	</datarequest>
</ibdoc>

 

RETURNED

<description>The 'm' start tag on line 4 does not match the end tag of 'program'. Line 6, position 3.</description><app_description>The system is unable to execute a SoftData request at this time.</app_description>

In this example, an end slash in missing from the table lookup node. To correct the error in this example, a slash needs to be added.

<m i="6" r="1" product_id="101"/>

 

SUBMITTED

<ibdoc>
	<datarequest project_id="1" env_def="RM">
		<program parent_id="8659" id="1" ver="4" datemask='mm/dd/yyyy'>
			<m i="10" r="1" n="BI_Limit_per_Occurrence" product_id="101"/>
			<m i="10" r="1" p="28" c="10" n="BI_Limit_Factor" product_id="101">
			<q i="2" " t="0" v="75287" o="="/>
			<q i="4" t="1" v="Dallas" o="="/> 
			</m>
		</program>
	</datarequest>
</ibdoc>

 

RETURNED

<description>Name cannot begin with the '"' character, hexadecimal value 0x22. Line 6, position 10.</description><app_description>The system is unable to execute a SoftData request at this time.</app_description>

In this example, there is an extra quotation mark ( " ) in front of the t value. To correct this error in this example, remove the extra quotation mark

<q i="2" t="0" v="75287" o="="/>