return error messages from providers