Thanks for posting the resolution. Ideally we should not require analytics-dir for this. We will fix that.
The reason we don't return an error message for the events POST API is because it could be potentially user-facing and we don't want to leak internal system errors for security reasons.