Hi - Can you send me a link or attach the list of error codes and messages that these 2 JobSubmit and SubmitToParser API services can return?
Thanks
Alok Bedi
J P Morgan Chase
alok.x.bedi@jpmchase.com
See the pdf at the following URL
https://apiforums.easylink.com/content/report-status-mapping
Tom
I think you're asking about the error codes the API might return in the <StatusCode> and <StatusMessage> elements.
We don't have a detailed list of the possible error codes, and in general there's not much that a user could do differently based on the specific codes that you get.
Our general recommendation is that if the StatusCode is non-zero, it makes sense for your software to retry your request once just to make sure the problem isn't a transient error. If the second attempt fails, then make sure to log both the StatusCode and the StatusMessage so we can investigate them. Sometimes a review of the StatusMessage will tell you if there is a problem with your input that causes the error as well.
By the way - we also strongly recommend that you provide a unique <MessageId> element in your Job Submit request. This helps to avoid duplicate jobs when the job submission was actually successful, but there was some problem or timeout after that. The MessageId needs to be unique across the entire system (not just across your own jobs). We suggest including your user ID or user account number as a component of the MessageId to ensure uniqueness.