Copy improved error messages to server-side API