Closed mikewest82 closed 2 years ago
Thank you for providing the error description. I will also add a note in the SourceLanguageCode.
Thank you for providing the error description. I will also add a note in the SourceLanguageCode.
Thank you Barry.
On Tue, Jun 7, 2022 at 4:28 PM Barry Devlin @.***> wrote:
Merged #15 https://github.com/awsdocs/amazon-translate-developer-guide/pull/15 into master.
— Reply to this email directly, view it on GitHub https://github.com/awsdocs/amazon-translate-developer-guide/pull/15#event-6765373796, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHQ3GD6LCJ5XKXA3OYNQDLVN7LLRANCNFSM5XW33LAQ . You are receiving this because you authored the thread.Message ID: <awsdocs/amazon-translate-developer-guide/pull/15/issue_event/6765373796@ github.com>
Added an under-documented error case
Issue #, if available: When following the instructions in the Translate documentation there is an un(der)documented error case where Translate attempts to call Comprehend in the same region, but if Comprehend is not in the region it fails. As it stands now, the error simply states "autodetect is not supported" which would appear to be in conflict with the documentation. (Alternatively the error message could say it's not supported because Comprehend is not available in the target region, but this seemed quicker).
Description of changes: I added the error and the cause in the page.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.