# Self.get\_response not prompting for answer

**URL:** https://community.openconversational.ai/t/self-get-response-not-prompting-for-answer/7997
**Category:** General Discussion
**Created:** [January 28, 2020, 10:50am UTC](https://community.openconversational.ai/t/self-get-response-not-prompting-for-answer/7997 "2020-01-28T10:50:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jjefferson13](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/j/0ea827/32.png) [@jjefferson13](https://community.openconversational.ai/u/jjefferson13)
#### Post date: [January 28, 2020, 10:50am UTC](https://community.openconversational.ai/t/self-get-response-not-prompting-for-answer/7997/1 "2020-01-28T10:50:33Z")

</div>

I’m not sure what happened, I’ve tried rebooting my machines, I’ve looked over the code, I can narrow it down to a single line of code as simple as:

result = self.get\_response(“hello”)

and I’ll hear Mycroft say “Hello”, but it will not prompt me for a response. It’s almost like my microphone isn’t active or working; however it is because I can initiate the skill. Any ideas why this would all of the sudden stop accepting responses back?

Thanks,  
Jay

---

<div class="post-metadata">

### Author: ![gez-mycroft](https://community.openconversational.ai/user_avatar/community.openconversational.ai/gez-mycroft/32/1937_2.png) [@gez-mycroft](https://community.openconversational.ai/u/gez-mycroft)
#### Post date: [January 28, 2020, 12:58pm UTC](https://community.openconversational.ai/t/self-get-response-not-prompting-for-answer/7997/2 "2020-01-28T12:58:30Z")

</div>

Hi Jay,

Have you got the code in a repo we can take a look at?

The simplest way to see if the mic is being triggered is probably watch the CLI while you are running the Skill. The microphone and wakeword messages are displayed in bright green, so you’ll see something like:  
` __main__ : handle_record_begin:37 | Begin Recording...`

---

<div class="post-metadata">

### Author: ![jjefferson13](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/j/0ea827/32.png) [@jjefferson13](https://community.openconversational.ai/u/jjefferson13)
#### Post date: [January 28, 2020, 1:51pm UTC](https://community.openconversational.ai/t/self-get-response-not-prompting-for-answer/7997/3 "2020-01-28T13:51:24Z")

</div>

I actually just figured this one out a short while ago. Here’s how to reproduce it:

Works:

self.get\_response(“Hello”)

Doesn’t work:

self.get\_response("Hello ")

it seems like my strings had a space at the end and if there is a space there it was failing.

---

<div class="post-metadata">

### Author: ![gez-mycroft](https://community.openconversational.ai/user_avatar/community.openconversational.ai/gez-mycroft/32/1937_2.png) [@gez-mycroft](https://community.openconversational.ai/u/gez-mycroft)
#### Post date: [January 29, 2020, 5:55am UTC](https://community.openconversational.ai/t/self-get-response-not-prompting-for-answer/7997/4 "2020-01-29T05:55:21Z")

</div>

Thanks for posting what you found, and glad you worked it out.

Strangely I’m not getting the same behaviour. Will have to do some more testing…
