add Apple's error codes to the error response