AnsweredAssumed Answered

Translation of reasonForFailure to English

Question asked by Erica Anderson on Mar 30, 2017
Latest reply on Apr 2, 2017 by Erica Anderson

Hi there


We are trying to incorporate the Diagnostic Tool API for error string translation into a chatbot so folks can call the chatbot to look up an error string.


The problem we have is the output from the API shows the reasonForFailure (e.g. ERR_CLIENT_ABORT) and the Luna Portal shows this reason translated to English (e.g. The client aborted the request before the edge server sent the headers or the full object).


The users of this API will not be able to do that translation themselves - is there a way to get a dictionary of all the reasonForFailures and how they map to their literal translations? Or is there another API we can call to translate this?