Send errors to API