voice icon indicating copy to clipboard operation
voice copied to clipboard

Getting Error "7/No Match"

Open imyagnesh opened this issue 6 years ago • 32 comments

After few seconds of start recording getting "7/No Match" Error. I have also tried with sample code and I am getting same error.

My React Native setup is as below

react": "^16.6.3", "react-native": "^0.57.5", "react-native-voice": "^0.2.6",

Attached Log details as well as snapshot. screenshot 2019-02-22 at 1 25 40 pm screenshot_20190222-132222_get engaged

imyagnesh avatar Feb 22 '19 08:02 imyagnesh

Hey i am also having the same error

shivam4ukhandelwal avatar Mar 05 '19 12:03 shivam4ukhandelwal

i am also having the same error

tunm1228 avatar Apr 11 '19 04:04 tunm1228

To solve that problem you need to pass the following config to the .start method:

Voice.start('es_US', {
  "RECOGNIZER_ENGINE": "GOOGLE",
   "EXTRA_PARTIAL_RESULTS": true
})

I think the RECOGNIZER_ENGINE is not necessary haha

Goye avatar Apr 22 '19 22:04 Goye

I am also having the same error!

mrengineer20 avatar Aug 30 '20 17:08 mrengineer20

i am also getting same error. iOS works seamlessly perfect but on android it throws such error. i put only console.log for every event so that you can see the logs more clearly.

[Tue Mar 02 2021 14:24:26.978]  LOG      services:  ["com.google.android.googlequicksearchbox"]
[Tue Mar 02 2021 14:24:28.464]  LOG      onSpeechStart:  {"error": false}
[Tue Mar 02 2021 14:24:28.578]  LOG      onSpeechVolumeChanged:  {"value": -2}
[Tue Mar 02 2021 14:24:28.817]  LOG      onSpeechVolumeChanged:  {"value": -0.440000057220459}
[Tue Mar 02 2021 14:24:28.849]  LOG      onSpeechVolumeChanged:  {"value": -2}
[Tue Mar 02 2021 14:24:29.360]  LOG      onSpeechVolumeChanged:  {"value": 1.119999885559082}
[Tue Mar 02 2021 14:24:29.710]  LOG      onSpeechVolumeChanged:  {"value": 0.039999961853027344}
[Tue Mar 02 2021 14:24:29.800]  LOG      onSpeechVolumeChanged:  {"value": 0.7599999904632568}
[Tue Mar 02 2021 14:24:29.104]  LOG      onSpeechVolumeChanged:  {"value": -0.440000057220459}
[Tue Mar 02 2021 14:24:29.113]  LOG      onSpeechVolumeChanged:  {"value": 0.8799998760223389}
[Tue Mar 02 2021 14:24:29.210]  LOG      onSpeechVolumeChanged:  {"value": 0.16000008583068848}
[Tue Mar 02 2021 14:24:29.212]  LOG      onSpeechVolumeChanged:  {"value": 1}
[Tue Mar 02 2021 14:24:29.212]  LOG      onSpeechVolumeChanged:  {"value": 10}
[Tue Mar 02 2021 14:24:29.469]  LOG      onSpeechVolumeChanged:  {"value": -2}
[Tue Mar 02 2021 14:24:33.729]  LOG      onSpeechError:  {"error": {"message": "7/No match"}}

and this is my start function with options:

        Voice.start('en-US', {
          RECOGNIZER_ENGINE: 'services',
          EXTRA_PARTIAL_RESULTS: true,
        })

any help will be appreciated, thank you

AlkanV avatar Mar 02 '21 11:03 AlkanV

yep, I get same err too. It is OK in fist time, and return an err in next time. I am using their example code and add this code but it still have err Voice.start('es_US', { "RECOGNIZER_ENGINE": "GOOGLE", "EXTRA_PARTIAL_RESULTS": true })

TruongLCC avatar Apr 19 '21 08:04 TruongLCC

I'm facing the same issue. Did anyone find a solution to this?

Nikita279 avatar Jun 03 '21 17:06 Nikita279

Hey guys! I am also having this issue! Does anyone have any solution for this?

JJ810 avatar Jun 04 '21 00:06 JJ810

Getting same issue on android, Not working

learncodingforweb avatar Jun 29 '21 15:06 learncodingforweb

Same issue. Either 5/Client side error or 7/No match, very frequent and I can't spot a pattern. Sometimes it will try to listen for a bit, other times it will be immediate on Voice.start()

lefnire avatar Oct 01 '21 23:10 lefnire

Mesmo problema, alguém achou a solução?

LucasRobert123 avatar Apr 26 '22 14:04 LucasRobert123

try running on API level 30, I cant run it on 31 but working on API 30

khaihoan2306 avatar Jun 07 '22 03:06 khaihoan2306

@khaihoan2306 I'm on 30. Thanks for the possibility though, was worth taking a look (I forgot which I was on). It's not a certain thing; it's like 50/50 (successful recognition vs 5, 7, or 8). Where I left off last year, my hunch was that there's some sort of race condition on the assigned functions. Eg, recognize/start/stop competing; possibly if it picks up background noise against the speaker.

lefnire avatar Jun 07 '22 05:06 lefnire

I am facing the same issue , Does anyone find any solution

DasSumana558025 avatar Jun 22 '22 09:06 DasSumana558025

I'm also facing the same issue.

Vishal-Isharani avatar Jul 01 '22 10:07 Vishal-Isharani

Any updates on this issue ? @imyagnesh

Sanath91009 avatar Jul 28 '22 18:07 Sanath91009

Any updates? I just came across this issue as well

Jfmetcalf5 avatar Aug 15 '22 21:08 Jfmetcalf5

Any updates?

jsdev-mario avatar Aug 27 '22 19:08 jsdev-mario

im also facing this issue

hgamage avatar Sep 29 '22 09:09 hgamage

Facing same issue here.

BastienSaulnier avatar Oct 17 '22 09:10 BastienSaulnier

i also facing the same issue

amalraj7980 avatar Nov 09 '22 01:11 amalraj7980

be sure to have checked the "Virtual microphone uses hosta audio input" option, in Microphone options from the android emulator

lucadev22 avatar Jan 14 '23 23:01 lucadev22

be sure to have checked the "Virtual microphone uses hosta audio input" option, in the Microphone options from the android emulator @lucadev22 That was it, thanks!

WillGITCode avatar Jan 24 '23 20:01 WillGITCode

Any update? I have same error!

branchdev98 avatar Jul 10 '23 15:07 branchdev98

Has no one been able to solve this issue?

peterhck avatar Aug 26 '23 23:08 peterhck

If you are using android emulator, make sure to tick Microphone => "Virtual microphone uses host audio input" which you can get by clicking "..." in Running Devices. If must work fine on real device.

I was using emulator and for me checking "Virtual microphone uses host audio input" solved it. Although a lot of delay in detecting voice but was good enough to confirm that it works :-)

inderweb avatar Sep 05 '23 12:09 inderweb

If you are using android emulator, make sure to tick Microphone => "Virtual microphone uses host audio input" which you can get by clicking "..." in Running Devices. If must work fine on real device.

I was using emulator and for me checking "Virtual microphone uses host audio input" solved it. Although a lot of delay in detecting voice but was good enough to confirm that it works :-)

bro you really solved my issue I just turned my microphone from emulator and all is good now . I was getting this error since yesterday : LOG speech error: {"error": {"message": "7/No match"}} now all is good let's meet somewhere else on some different issue 🤝🧡

aniketjha9179 avatar Nov 08 '23 08:11 aniketjha9179

has no one able to solve this error ! ;(

yahiaslim12 avatar Jan 12 '24 16:01 yahiaslim12

I'm using real device and still i couldn't solve this issue PLEASE help someone.

Muhammad-Nafees avatar Feb 26 '24 15:02 Muhammad-Nafees

@lucadev22 do you know how to solve this problem in Android Real Device not emulator?

Muhammad-Nafees avatar Feb 27 '24 18:02 Muhammad-Nafees