Speech recognition - Optional(Error Domain=kAFAssistantErrorDomain Code=1107 "(null)")

Hi,


I am getting few errors logs while using Speech API -

- Optional(Error Domain=kAFAssistantErrorDomain Code=203 "(null)")

- Optional(Error Domain=kAFAssistantErrorDomain Code=209 "(null)")

- Optional(Error Domain=kAFAssistantErrorDomain Code=216 "(null)")

- Optional(Error Domain=kAFAssistantErrorDomain Code=1107 "(null)")


with first 3 kinds of error logs, the application works. But once the fourth kind of error log comes, it stops speech recognition.

Can someone explain me, what these error logs mean?

Fourth error log comes once in 20 attempts of stop&start speechRecognition(erratic).

I am using SFSpeechAudioBufferRecognitionRequest , SFSpeechRecognitionTask.




What is good practice -

Keeping single recognition service throughout the application? Or, one speechRecognition for one page?





Any help will be appriciated.

Same here. Also got error codes 1700, 1 and 4...

Are you using different recognition tasks in different pages?
Are you getting error code 17** erratically?

Also having this problem. I made another post about it here: https://forums.developer.apple.com/thread/128314

I also have this error. I'm using SpeechRecognizer on iPhone 11Pro, iOS 13.3.1.

In my case 1107 appears when the recognizer have nothing to recognize for 30 seconds or so. Either no voice or voice in a language different from the one it was created for.

Speech recognition - Optional(Error Domain=kAFAssistantErrorDomain Code=1107 "(null)")
 
 
Q