Ask a Question

Advanced Search

Solution ID : SO29637

Last Modified : 01/31/2020

Error: Current state not START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE

Problem

An error occurred when submitting a QuickOrder via API.

Error Message

<faultstring>Current state not START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE</faultstring>

Cause

This error may occur if the organization name or the Title of any of the contacts in the API request contains the ampersand sign (&).

Solution

A bug has been discovered via API if the organization name information in the actual API request contains an ampersand character.

For example:

Note:
If the Certificate Signing Request (CSR) contains ampersand in the Organization Name while the actual API request does not, then the enrollment is submitted successfully.

Below is the scenario in which the issue occurs.

CSR contains & character in Organization Name API request contains & character  in Organization information Result
Yes No

Pass

No Yes Fail 
Error: <faultstring>Current state not START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE</faultstring>


To resolved the error mentioned in the table scenario above. The workaround is to submit API request without the ampersand character in the organization name information and contact Customer Support department to manually update the order in our system.  

Note:
Updating the organization name in our system only works for pending SSL certificate products. Code signing products does not support the recommended workaround.