possible error messages in OpenAPI v2
possible error messages in OpenAPI v2
29 Jan 2019, 11:05
Hi Spotware Support,
After creating orders, we receive a ProtoOAExecutionEvent message from OpenAPI v2 server.
There is an errorCode field indicating errors if order is having problems.
Is there any documentation about the possible error codes that could be returned?
Thank you.
Replies
hsbcstor
30 Jan 2019, 03:06
RE:
Hello,
Actually ProtoOAExecutionEvent.errorCode is a string field (instead of the ProtoErrorCode enum).
I am asking this because last time I received a "NOT_ENOUGH_MONEY" string which is not documented anywhere. Just wonder if there are other possible errors.
Thanks
@hsbcstor
PanagiotisCharalampous
30 Jan 2019, 10:32
Hi hsbcstor,
Indeed there are more errors you might get and we do not have them somewhere in the documentation at the moment. Most of the errors are self explanatory but we will add them in the documentation as well in the near future.
Best Regards,
Panagiotis
@PanagiotisCharalampous
... Deleted by UFO ...
PanagiotisCharalampous
30 Apr 2019, 14:20
Open API Error Codes have been added here
@PanagiotisCharalampous
PanagiotisCharalampous
29 Jan 2019, 12:02
Hi hsbcstor,
You can find possible error codes in CommomModelMessages.ProtoErrorCode.
Best Regards,
Panagiotis
@PanagiotisCharalampous