3217 The stored procedure returned a response that has an invalid state.
This error occurs if the the phase of a result set request is not correct.
System Support Representative.
The phase of a returned result set is unexpected.
Contact your support representative.