Ask a Question
Back to All

Why does GetEventAsync throw an Exception instead of returning an error?

When the request id does not exist, the GetEventAsync call throws an exception, with an ErrorCode (404) and a JSON ErrorContent.

Firstly: is there any documentation about the ApiException and its format (especially the ErrorContent JSON)?

Secondly: why isn't the error returned on the regular response, eg. Products.Botd.Error


-- Joe