changed the error message styling on the api call.