Skip to content

[Predictions]: CallBack doesn't return in convert() when URLError occurs #678

@618coffee

Description

@618coffee

Describe the bug
Using provisioned AWS Transcribe resource in an unsupported region and call Amplify.Predictions.convert(), CallBack which contains error message doesn't return.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Predictions Sample App
  2. Follow https://docs.amplify.aws/lib/predictions/transcribe/q/platform/ios to provision AWS Transcribe resource in eu-west-2 region
  3. Call Amplify.Predictions.convert() to transcribe an audio file
  4. The call back is not returning (neither success case nor failure case)

Expected behavior
Failure message should be returned

Environment(please complete the following information):

  • Amplify Framework Version: 1.0.4
  • Dependency Manager: Cocoapods
  • Swift Version : 5.0

Device Information (please complete the following information):

  • Device: Simulators
  • iOS Version: iOS

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpending-releaseCode has been merged but pending release Code has been merged but pending releasepredictionsIssues related to the Predictions category

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions