# Rasa\_sdk.endpoint - Failed to extract slot company with action sales\_form

**URL:** <https://forum.rasa.com/t/rasa-sdk-endpoint-failed-to-extract-slot-company-with-action-sales-form/27110>\
**Category:** Rasa Open Source\
**Created:** [April 6, 2020, 7:06pm UTC](https://forum.rasa.com/t/rasa-sdk-endpoint-failed-to-extract-slot-company-with-action-sales-form/27110 "2020-04-06T19:06:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmelossi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fmelossi/32/8153_2.png) [@fmelossi](https://forum.rasa.com/u/fmelossi)\
**Post date:** [April 6, 2020, 7:06pm UTC](https://forum.rasa.com/t/rasa-sdk-endpoint-failed-to-extract-slot-company-with-action-sales-form/27110/1 "2020-04-06T19:06:41Z")

</div>

Hello how are you?

I’m learning rasa, I’m following the example in the documentation, but when I run them it throws the following error: “rasa\_sdk.endpoint - Failed to extract slot company with action sales\_form” and can’t figure out why. Can someone help me ??

archives:

Domain.yml

```auto
intents:
  - greet
  - bye
  - thank
  - faq
  - contact_sales
  - inform

entities:
  - business_email
  - company
  - budget
  - job_function
  - person_name
  - use_case

responses:
  utter_noworries:
    - text: No worries!
  utter_greet:
    - text: Hi
  utter_bye:
    - text: Bye!
  utter_ask_business_email:
    - text: What's your business email?
  utter_ask_company:
    - text: What company do you work for?
  utter_ask_budget:
    - text: "What's your annual budget for conversational AI?"
  utter_ask_job_function:
    - text: "What's your job?"
  utter_ask_person_name:
    - text: What's your name?
  utter_ask_use_case:
    - text: What's your use case?

actions:
  - respond_faq
 # - sales_form

slots:
  business_email:
    type: unfeaturized
    auto_fill: false
  company:
    type: unfeaturized
    auto_fill: false
  budget:
    type: unfeaturized
    auto_fill: false
  job_function:
    type: unfeaturized
    auto_fill: false
  person_name:
    type: unfeaturized
    auto_fill: false
  use_case:
    type: unfeaturized
    auto_fill: false
  requested_slot:
    type: unfeaturized

#requested_slot:
# type: categorical
# values:
# - business_email
# - company
# - person_name
# - use_case
# - budget
# - job_function

forms:
  - sales_form

session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

```

* * *

nlu.md

```auto
## intent:greet

- Hi

- Hey

- Hi bot

- Hey bot

- Hello

- Good morning

- hi again

- hi folks

## intent:bye

- goodbye

- goodnight

- good bye

- good night

- see ya

- toodle-oo

- bye bye

- gotta go

- farewell

## intent:thank

- Thanks

- Thank you

- Thank you so much

- Thanks bot

- Thanks for that

- cheers

## intent: faq/ask_channels

- What channels of communication does rasa support?

- what channels do you support?

- what chat channels does rasa uses

- channels supported by Rasa

- which messaging channels does rasa support?

## intent: faq/ask_languages

- what language does rasa support?

- which language do you support?

- which languages supports rasa

- can I use rasa also for another laguage?

- languages supported

## intent: faq/ask_rasax

- I want information about rasa x

- i want to learn more about Rasa X

- what is rasa x?

- Can you tell me about rasa x?

- Tell me about rasa x

- tell me what is rasa x

## intent:contact_sales

- I wanna talk to your sales people.

- I want to talk to your sales people

- I want to speak with sales

- Sales

- Please schedule a sales call

- Please connect me to someone from sales

- I want to get in touch with your sales guys

- I would like to talk to someone from your sales team

- sales please

## intent:inform

- [100k](budget)

- [100k](budget)

- [240k/year](budget)

- [150,000 USD](budget)

- I work for [Rasa](company)

- The name of the company is [ACME](company)

- company: [Rasa Technologies](company)

- it's a small company from the US, the name is [Hooli](company)

- it's a tech company, [Rasa](company)

- [ACME](company)

- [Rasa Technologies](company)

- [maxmeier@firma.de](business_email)

- [bot-fan@bots.com](business_email)

- [maxmeier@firma.de](business_email)

- [bot-fan@bots.com](business_email)

- [my email is email@rasa.com](business_email)

- [engineer](job_function)

- [brand manager](job_function)

- [marketing](job_function)

- [sales manager](job_function)

- [growth manager](job_function)

- [CTO](job_function)

- [CEO](job_function)

- [COO](job_function)

- [John Doe](person_name)

- [Jane Doe](person_name)

- [Max Mustermann](person_name)

- [Max Meier](person_name)

- We plan to build a [sales bot](use_case) to increase our sales by 500%.

- we plan to build a [sales bot](use_case) to increase our revenue by 100%.

- a [insurance tool](use_case) that consults potential customers on the best life insurance to choose.

- we're building a [conversational assistant](use_case) for our employees to book meeting rooms.

```

* * *

config.yml

```auto
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline:
  - name: WhitespaceTokenizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: "char_wb"
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 100
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
  - name: MemoizationPolicy
  - name: KerasPolicy
  # - name: TEDPolicy
  # - max_history: 1
  - name: MappingPolicy
  - name: FormPolicy

```

* * *

stories.md

```auto
## greet
* greet
  - utter_greet

## thank
* thank
  - utter_noworries

## goodbye
* bye
  - utter_bye

## Some question from FAQ
* faq
    - respond_faq

## sales_form
* contact_sales
    - sales_form <!--Run the sales_form action-->
    - form{"name": "sales_form"} <!--Activate the form-->
    - form{"name": null} <!--Deactivate the form-->

```

* * *

actions.py

```auto
from typing import Dict, Text, Any, List, Union, Optional

from rasa_sdk import Tracker
from rasa_sdk.executor import CollectingDispatcher
from rasa_sdk.forms import FormAction

class SalesForm(FormAction):
    """Collects sales information and adds it to the spreadsheet"""

    def name(self):
        return "sales_form"
    
    @staticmethod
    def required_slots(tracker: Tracker) -> List[Text]:
        return [
            "business_email",
            "company",
            "budget",
            "use_case",
            "job_function",
            "person_name",
        ]
        
    def submit(
        self,
        dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: Dict[Text, Any],
    ) -> List[Dict]:

        dispatcher.utter_message("Thanks for getting in touch, we’ll contact you soon")
        return []

```

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [April 7, 2020, 7:37am UTC](https://forum.rasa.com/t/rasa-sdk-endpoint-failed-to-extract-slot-company-with-action-sales-form/27110/2 "2020-04-07T07:37:18Z")

</div>

Hi @fmelossi, welcome to the forum! Can you start your bot in debug mode and paste the log output here? E.g. `rasa run actions --debug` and, for example, `rasa shell --debug`.

---

<div class="post-metadata">

**Author:** ![fmelossi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fmelossi/32/8153_2.png) [@fmelossi](https://forum.rasa.com/u/fmelossi)\
**Post date:** [April 7, 2020, 5:26pm UTC](https://forum.rasa.com/t/rasa-sdk-endpoint-failed-to-extract-slot-company-with-action-sales-form/27110/3 "2020-04-07T17:26:08Z")

</div>

Hello Tanja, thank you very much for answering, I show you the execution of debug to see if you can help me thanks

(venv) MacBook-Air-de-Fernando:rasa-assistant fernando$ rasa shell --debug 2020-04-07 14:22:22 DEBUG rasa.model - Extracted model to ‘/var/folders/gs/t9nx6sld5yjb\_f7l9hcjj57r0000gn/T/tmpm4nhybl4’. 2020-04-07 14:22:22 DEBUG rasa.cli.utils - Parameter ‘endpoints’ not set. Using default location ‘endpoints.yml’ instead. 2020-04-07 14:22:22 DEBUG rasa.cli.utils - Parameter ‘credentials’ not set. Using default location ‘credentials.yml’ instead. 2020-04-07 14:22:22 DEBUG rasa.model - Extracted model to ‘/var/folders/gs/t9nx6sld5yjb\_f7l9hcjj57r0000gn/T/tmp09pzniyy’. 2020-04-07 14:22:23 INFO root - Connecting to channel ‘cmdline’ which was specified by the ‘–connector’ argument. Any other channels will be ignored. To connect to all given channels, omit the ‘–connector’ argument. 2020-04-07 14:22:23 DEBUG sanic.root - CORS: Configuring CORS with resources: {’/_’: {‘origins’: [’’], ‘methods’: ‘DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT’, ‘allow\_headers’: [’._’], ‘expose\_headers’: None, ‘supports\_credentials’: True, ‘max\_age’: None, ‘send\_wildcard’: False, ‘automatic\_options’: True, ‘vary\_header’: True, ‘resources’: {’/\*’: {‘origins’: ‘’}}, ‘intercept\_exceptions’: True, ‘always\_send’: True}} 2020-04-07 14:22:23 DEBUG rasa.core.utils - Available web server routes: /webhooks/rest GET custom\_webhook\_CmdlineInput.health /webhooks/rest/webhook POST custom\_webhook\_CmdlineInput.receive / GET hello 2020-04-07 14:22:23 INFO root - Starting Rasa server on [http://localhost:5005](http://localhost:5005) 2020-04-07 14:22:23 DEBUG rasa.core.utils - Using the default number of Sanic workers (1). 2020-04-07 14:22:23 INFO root - Enabling coroutine debugging. Loop id 5160046624. 2020-04-07 14:22:24 DEBUG rasa.model - Extracted model to ‘/var/folders/gs/t9nx6sld5yjb\_f7l9hcjj57r0000gn/T/tmpk74eyros’. 2020-04-07 14:22:24 DEBUG rasa.utils.tensorflow.models - Loading the model … 2020-04-07 14:22:26 DEBUG rasa.utils.tensorflow.models - Finished loading the model. 2020-04-07 14:22:26 DEBUG rasa.utils.tensorflow.models - Building tensorflow prediction graph… 2020-04-07 14:22:32 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow prediction graph. 2020-04-07 14:22:32 DEBUG rasa.utils.tensorflow.models - Loading the model … 2020-04-07 14:22:33 DEBUG rasa.utils.tensorflow.models - Finished loading the model. 2020-04-07 14:22:33 DEBUG rasa.utils.tensorflow.models - Building tensorflow prediction graph… 2020-04-07 14:22:33 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow prediction graph. 2020-04-07 14:22:33 DEBUG rasa.core.tracker\_store - Connected to InMemoryTrackerStore. 2020-04-07 14:22:33 DEBUG rasa.core.lock\_store - Connected to lock store ‘InMemoryLockStore’. 2020-04-07 14:22:34 DEBUG rasa.model - Extracted model to ‘/var/folders/gs/t9nx6sld5yjb\_f7l9hcjj57r0000gn/T/tmph80blldx’. 2020-04-07 14:22:34 DEBUG pykwalify.compat - Using yaml library: /usr/local/lib/python3.7/site-packages/ruamel/yaml/ **init**.py 2020-04-07 14:22:34 DEBUG rasa.utils.tensorflow.models - Loading the model … 2020-04-07 14:22:34 DEBUG rasa.utils.tensorflow.models - Finished loading the model. 2020-04-07 14:22:34 DEBUG rasa.utils.tensorflow.models - Building tensorflow prediction graph… 2020-04-07 14:22:35 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow prediction graph. 2020-04-07 14:22:35 DEBUG rasa.core.nlg.generator - Instantiated NLG to ‘TemplatedNaturalLanguageGenerator’. Bot loaded. Type a message and press enter (use ‘/stop’ to exit): Your input -\> hi  
2020-04-07 14:22:39 DEBUG rasa.core.tracker\_store - Creating a new tracker for id ‘8aaff16adf7d4e7488e42b5c6f8109ca’. 2020-04-07 14:22:39 DEBUG rasa.core.processor - Starting a new session for conversation ID ‘8aaff16adf7d4e7488e42b5c6f8109ca’. 2020-04-07 14:22:39 DEBUG rasa.core.processor - Action ‘action\_session\_start’ ended with events ‘[\<rasa.core.events.SessionStarted object at 0x1388be290\>, \<rasa.core.events.ActionExecuted object at 0x13a35f750\>]’. 2020-04-07 14:22:39 DEBUG rasa.core.processor - Current slot values: budget: None business\_email: None company: None job\_function: None person\_name: None requested\_slot: None use\_case: None 2020-04-07 14:22:40 DEBUG rasa.nlu.selectors.response\_selector - Adding following selector key to message property: default 2020-04-07 14:22:40 DEBUG rasa.core.processor - Received user message ‘hi’ with intent ‘{‘name’: ‘greet’, ‘confidence’: 0.9868015050888062}’ and entities ‘[]’ 2020-04-07 14:22:40 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 4 events. 2020-04-07 14:22:40 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, {}, {‘prev\_action\_listen’: 1.0, ‘intent\_greet’: 1.0}] 2020-04-07 14:22:40 DEBUG rasa.core.policies.memoization - There is no memorised next action 2020-04-07 14:22:40 DEBUG rasa.core.policies.mapping\_policy - The predicted intent ‘greet’ is mapped to action ‘action\_greet’ in the domain. 2020-04-07 14:22:40 DEBUG rasa.core.policies.form\_policy - There is no active form 2020-04-07 14:22:40 DEBUG rasa.core.policies.two\_stage\_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-04-07 14:22:40 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_2\_MappingPolicy 2020-04-07 14:22:40 DEBUG rasa.core.processor - Predicted next action ‘action\_greet’ with confidence 1.00. 2020-04-07 14:22:40 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘action\_greet’. 2020-04-07 14:22:40 DEBUG rasa.core.processor - Action ‘action\_greet’ ended with events ‘[BotUttered(‘Hi’, {“elements”: null, “quick\_replies”: null, “buttons”: null, “attachment”: null, “image”: null, “custom”: null}, {}, 1586280160.152938), \<rasa.core.events.UserUtteranceReverted object at 0x1388a95d0\>]’. 2020-04-07 14:22:40 DEBUG rasa.core.processor - Current slot values: budget: None business\_email: None company: None job\_function: None person\_name: None requested\_slot: None use\_case: None 2020-04-07 14:22:40 DEBUG rasa.core.processor - Predicted next action ‘action\_listen’ with confidence 1.00. 2020-04-07 14:22:40 DEBUG rasa.core.processor - Action ‘action\_listen’ ended with events ‘[]’. 2020-04-07 14:22:40 DEBUG rasa.core.lock\_store - Deleted lock for conversation ‘8aaff16adf7d4e7488e42b5c6f8109ca’. Hi Your input -\> Sales  
2020-04-07 14:23:04 DEBUG rasa.core.tracker\_store - Recreating tracker for id ‘8aaff16adf7d4e7488e42b5c6f8109ca’ 2020-04-07 14:23:04 DEBUG rasa.nlu.selectors.response\_selector - Adding following selector key to message property: default 2020-04-07 14:23:04 DEBUG rasa.core.processor - Received user message ‘Sales’ with intent ‘{‘name’: ‘contact\_sales’, ‘confidence’: 0.9939835667610168}’ and entities ‘[]’ 2020-04-07 14:23:04 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 9 events. 2020-04-07 14:23:04 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, {}, {‘prev\_action\_listen’: 1.0, ‘intent\_contact\_sales’: 1.0}] 2020-04-07 14:23:04 DEBUG rasa.core.policies.memoization - There is a memorised next action ‘sales\_form’ 2020-04-07 14:23:04 DEBUG rasa.core.policies.form\_policy - There is no active form 2020-04-07 14:23:04 DEBUG rasa.core.policies.two\_stage\_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-04-07 14:23:04 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_0\_MemoizationPolicy 2020-04-07 14:23:04 DEBUG rasa.core.processor - Predicted next action ‘sales\_form’ with confidence 1.00. 2020-04-07 14:23:04 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘sales\_form’. 2020-04-07 14:23:04 DEBUG rasa.core.processor - Action ‘sales\_form’ ended with events ‘[BotUttered(‘What’s your business email?’, {“elements”: null, “quick\_replies”: null, “buttons”: null, “attachment”: null, “image”: null, “custom”: null}, {}, 1586280184.488977), \<rasa.core.events.Form object at 0x1354a9290\>, \<rasa.core.events.SlotSet object at 0x1354a9710\>]’. 2020-04-07 14:23:04 DEBUG rasa.core.processor - Current slot values: budget: None business\_email: None company: None job\_function: None person\_name: None requested\_slot: business\_email use\_case: None 2020-04-07 14:23:04 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, {}, {‘prev\_action\_listen’: 1.0, ‘intent\_contact\_sales’: 1.0}] 2020-04-07 14:23:04 DEBUG rasa.core.policies.memoization - There is a memorised next action ‘sales\_form’ 2020-04-07 14:23:04 DEBUG rasa.core.policies.mapping\_policy - There is no mapped action for the predicted intent, ‘contact\_sales’. 2020-04-07 14:23:04 DEBUG rasa.core.policies.form\_policy - There is an active form ‘sales\_form’ 2020-04-07 14:23:04 DEBUG rasa.core.policies.two\_stage\_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-04-07 14:23:04 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_3\_FormPolicy 2020-04-07 14:23:04 DEBUG rasa.core.processor - Predicted next action ‘action\_listen’ with confidence 1.00. 2020-04-07 14:23:04 DEBUG rasa.core.processor - Action ‘action\_listen’ ended with events ‘[]’. 2020-04-07 14:23:04 DEBUG rasa.core.lock\_store - Deleted lock for conversation ‘8aaff16adf7d4e7488e42b5c6f8109ca’. What’s your business email? Your input -\> [fmelossi@gmail.com](mailto:fmelossi@gmail.com)  
2020-04-07 14:23:16 DEBUG rasa.core.tracker\_store - Recreating tracker for id ‘8aaff16adf7d4e7488e42b5c6f8109ca’ 2020-04-07 14:23:16 DEBUG rasa.nlu.selectors.response\_selector - Adding following selector key to message property: default 2020-04-07 14:23:16 DEBUG rasa.core.processor - Received user message ‘fmelossi@gmail.com’ with intent ‘{‘name’: ‘inform’, ‘confidence’: 0.9999779462814331}’ and entities ‘[{‘entity’: ‘business\_email’, ‘start’: 0, ‘end’: 18, ‘extractor’: ‘DIETClassifier’, ‘value’: ‘fmelossi@gmail.com’}]’ 2020-04-07 14:23:16 DEBUG rasa.core.processor - Current slot values: budget: None business\_email: None company: None job\_function: None person\_name: None requested\_slot: business\_email use\_case: None 2020-04-07 14:23:16 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 15 events. 2020-04-07 14:23:16 DEBUG rasa.core.policies.memoization - Current tracker state [None, {}, {‘prev\_action\_listen’: 1.0, ‘intent\_contact\_sales’: 1.0}, {‘active\_form\_sales\_form’: 1.0, ‘intent\_contact\_sales’: 1.0, ‘prev\_sales\_form’: 1.0}, {‘entity\_business\_email’: 1.0, ‘active\_form\_sales\_form’: 1.0, ‘prev\_action\_listen’: 1.0, ‘intent\_inform’: 1.0}] 2020-04-07 14:23:16 DEBUG rasa.core.policies.memoization - There is no memorised next action 2020-04-07 14:23:16 DEBUG rasa.core.policies.form\_policy - There is an active form ‘sales\_form’ 2020-04-07 14:23:16 DEBUG rasa.core.policies.two\_stage\_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-04-07 14:23:16 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_3\_FormPolicy 2020-04-07 14:23:16 DEBUG rasa.core.processor - Predicted next action ‘sales\_form’ with confidence 1.00. 2020-04-07 14:23:16 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘sales\_form’. 2020-04-07 14:23:16 DEBUG rasa.core.processor - Action ‘sales\_form’ ended with events ‘[BotUttered(‘What company do you work for?’, {“elements”: null, “quick\_replies”: null, “buttons”: null, “attachment”: null, “image”: null, “custom”: null}, {“business\_email”: “[fmelossi@gmail.com](mailto:fmelossi@gmail.com)”, “requested\_slot”: “business\_email”}, 1586280196.128727), \<rasa.core.events.SlotSet object at 0x13aa6e710\>, \<rasa.core.events.SlotSet object at 0x13aa6ed10\>]’. 2020-04-07 14:23:16 DEBUG rasa.core.processor - Current slot values: budget: None business\_email: [fmelossi@gmail.com](mailto:fmelossi@gmail.com) company: None job\_function: None person\_name: None requested\_slot: company use\_case: None 2020-04-07 14:23:16 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, {}, {‘prev\_action\_listen’: 1.0, ‘intent\_contact\_sales’: 1.0}] 2020-04-07 14:23:16 DEBUG rasa.core.policies.memoization - There is a memorised next action ‘sales\_form’ 2020-04-07 14:23:16 DEBUG rasa.core.policies.mapping\_policy - There is no mapped action for the predicted intent, ‘inform’. 2020-04-07 14:23:16 DEBUG rasa.core.policies.form\_policy - There is an active form ‘sales\_form’ 2020-04-07 14:23:16 DEBUG rasa.core.policies.two\_stage\_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-04-07 14:23:16 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_3\_FormPolicy 2020-04-07 14:23:16 DEBUG rasa.core.processor - Predicted next action ‘action\_listen’ with confidence 1.00. 2020-04-07 14:23:16 DEBUG rasa.core.processor - Action ‘action\_listen’ ended with events ‘[]’. 2020-04-07 14:23:16 DEBUG rasa.core.lock\_store - Deleted lock for conversation ‘8aaff16adf7d4e7488e42b5c6f8109ca’. What company do you work for? Your input -\> cumbre  
2020-04-07 14:23:21 DEBUG rasa.core.tracker\_store - Recreating tracker for id ‘8aaff16adf7d4e7488e42b5c6f8109ca’ 2020-04-07 14:23:21 DEBUG rasa.nlu.selectors.response\_selector - Adding following selector key to message property: default 2020-04-07 14:23:21 DEBUG rasa.core.processor - Received user message ‘cumbre’ with intent ‘{‘name’: ‘inform’, ‘confidence’: 0.9483634829521179}’ and entities ‘[]’ 2020-04-07 14:23:21 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 21 events. 2020-04-07 14:23:21 DEBUG rasa.core.policies.memoization - Current tracker state [None, {}, {‘prev\_action\_listen’: 1.0, ‘intent\_contact\_sales’: 1.0}, {‘active\_form\_sales\_form’: 1.0, ‘intent\_contact\_sales’: 1.0, ‘prev\_sales\_form’: 1.0}, {‘active\_form\_sales\_form’: 1.0, ‘prev\_action\_listen’: 1.0, ‘intent\_inform’: 1.0}] 2020-04-07 14:23:21 DEBUG rasa.core.policies.memoization - There is no memorised next action 2020-04-07 14:23:21 DEBUG rasa.core.policies.form\_policy - There is an active form ‘sales\_form’ 2020-04-07 14:23:21 DEBUG rasa.core.policies.two\_stage\_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-04-07 14:23:21 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_3\_FormPolicy 2020-04-07 14:23:21 DEBUG rasa.core.processor - Predicted next action ‘sales\_form’ with confidence 1.00. 2020-04-07 14:23:21 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘sales\_form’. 2020-04-07 14:23:21 ERROR rasa.core.actions.action - Failed to extract slot company with action sales\_form 2020-04-07 14:23:21 DEBUG rasa.core.policies.memoization - Current tracker state [None, {}, {‘prev\_action\_listen’: 1.0, ‘intent\_contact\_sales’: 1.0}, {‘active\_form\_sales\_form’: 1.0, ‘intent\_contact\_sales’: 1.0, ‘prev\_sales\_form’: 1.0}, {‘active\_form\_sales\_form’: 1.0, ‘prev\_action\_listen’: 1.0, ‘intent\_inform’: 1.0}] 2020-04-07 14:23:21 DEBUG rasa.core.policies.memoization - There is no memorised next action 2020-04-07 14:23:21 DEBUG rasa.core.policies.form\_policy - There is an active form ‘sales\_form’ 2020-04-07 14:23:21 DEBUG rasa.core.policies.two\_stage\_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-04-07 14:23:21 DEBUG rasa.core.policies.ensemble - Execution of ‘sales\_form’ was rejected. Setting its confidence to 0.0 in all predictions. 2020-04-07 14:23:21 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_1\_TEDPolicy 2020-04-07 14:23:21 DEBUG rasa.core.processor - Predicted next action ‘utter\_explain\_why\_budget’ with confidence 0.38. 2020-04-07 14:23:21 DEBUG rasa.core.processor - Action ‘utter\_explain\_why\_budget’ ended with events ‘[BotUttered(‘We need to know your budget to recommend a subscription’, {“elements”: null, “quick\_replies”: null, “buttons”: null, “attachment”: null, “image”: null, “custom”: null}, {}, 1586280201.597238)]’. 2020-04-07 14:23:21 DEBUG rasa.core.policies.memoization - Current tracker state [{}, {‘prev\_action\_listen’: 1.0, ‘intent\_contact\_sales’: 1.0}, {‘active\_form\_sales\_form’: 1.0, ‘intent\_contact\_sales’: 1.0, ‘prev\_sales\_form’: 1.0}, {‘active\_form\_sales\_form’: 1.0, ‘prev\_action\_listen’: 1.0, ‘intent\_inform’: 1.0}, {‘prev\_utter\_explain\_why\_budget’: 1.0, ‘active\_form\_sales\_form’: 1.0, ‘intent\_inform’: 1.0}] 2020-04-07 14:23:21 DEBUG rasa.core.policies.memoization - There is no memorised next action 2020-04-07 14:23:21 DEBUG rasa.core.policies.mapping\_policy - There is no mapped action for the predicted intent, ‘inform’. 2020-04-07 14:23:21 DEBUG rasa.core.policies.form\_policy - There is an active form ‘sales\_form’ 2020-04-07 14:23:21 DEBUG rasa.core.policies.two\_stage\_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-04-07 14:23:21 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_1\_TEDPolicy 2020-04-07 14:23:21 DEBUG rasa.core.processor - Predicted next action ‘sales\_form’ with confidence 0.94. 2020-04-07 14:23:21 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘sales\_form’. We need to know your budget to recommend a subscription 2020-04-07 14:23:21 DEBUG rasa.core.processor - Action ‘sales\_form’ ended with events ‘[BotUttered(‘What company do you work for?’, {“elements”: null, “quick\_replies”: null, “buttons”: null, “attachment”: null, “image”: null, “custom”: null}, {“business\_email”: “[fmelossi@gmail.com](mailto:fmelossi@gmail.com)”, “requested\_slot”: “company”}, 1586280201.6154299), \<rasa.core.events.SlotSet object at 0x13ab9ded0\>]’. 2020-04-07 14:23:21 DEBUG rasa.core.processor - Current slot values: budget: None business\_email: [fmelossi@gmail.com](mailto:fmelossi@gmail.com) company: None job\_function: None person\_name: None requested\_slot: company use\_case: None 2020-04-07 14:23:21 DEBUG rasa.core.policies.memoization - Current tracker state [{}, {‘prev\_action\_listen’: 1.0, ‘intent\_contact\_sales’: 1.0}, {‘active\_form\_sales\_form’: 1.0, ‘intent\_contact\_sales’: 1.0, ‘prev\_sales\_form’: 1.0}, {‘active\_form\_sales\_form’: 1.0, ‘prev\_action\_listen’: 1.0, ‘intent\_inform’: 1.0}, {‘prev\_utter\_explain\_why\_budget’: 1.0, ‘active\_form\_sales\_form’: 1.0, ‘intent\_inform’: 1.0}] 2020-04-07 14:23:21 DEBUG rasa.core.policies.memoization - There is no memorised next action 2020-04-07 14:23:21 DEBUG rasa.core.policies.mapping\_policy - There is no mapped action for the predicted intent, ‘inform’. 2020-04-07 14:23:21 DEBUG rasa.core.policies.form\_policy - There is an active form ‘sales\_form’ 2020-04-07 14:23:21 DEBUG rasa.core.policies.two\_stage\_fallback - NLU confidence threshold met, confidence of fallback action set to core threshold (0.3). 2020-04-07 14:23:21 DEBUG rasa.core.policies.ensemble - Predicted next action using policy\_3\_FormPolicy 2020-04-07 14:23:21 DEBUG rasa.core.processor - Predicted next action ‘action\_listen’ with confidence 1.00. 2020-04-07 14:23:21 DEBUG rasa.core.processor - Action ‘action\_listen’ ended with events ‘[]’. 2020-04-07 14:23:21 DEBUG rasa.core.lock\_store - Deleted lock for conversation ‘8aaff16adf7d4e7488e42b5c6f8109ca’. What company do you work for? Your input -\>

---

<div class="post-metadata">

**Author:** ![fmelossi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fmelossi/32/8153_2.png) [@fmelossi](https://forum.rasa.com/u/fmelossi)\
**Post date:** [April 7, 2020, 5:30pm UTC](https://forum.rasa.com/t/rasa-sdk-endpoint-failed-to-extract-slot-company-with-action-sales-form/27110/4 "2020-04-07T17:30:22Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/9599b2d1ee17cc85c72d03521d00c8f0f729eaa8.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/9eedddfabc48eeedffcf8595512a86ed804f293f.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/5/5eac98e20e5f6d0d7b79e27bb39437e65f5445fa.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/b/b47b7e9e8105650f7ddc0589598707b1e8122fff.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/932def91043f95bc5777df88a5f6402eb3211528.png) ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/e/e8bb3cb7c2c4531f8dc941232c403da126e3228e.png)

---

<div class="post-metadata">

**Author:** ![fmelossi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fmelossi/32/8153_2.png) [@fmelossi](https://forum.rasa.com/u/fmelossi)\
**Post date:** [April 7, 2020, 6:48pm UTC](https://forum.rasa.com/t/rasa-sdk-endpoint-failed-to-extract-slot-company-with-action-sales-form/27110/5 "2020-04-07T18:48:30Z")

</div>

With Rasa X

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/f/f17a82b1ed651cca44d91c3815338ae66e1f2025.png)

---

<div class="post-metadata">

**Author:** ![Tanja](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tanja/32/4696_2.png) [@Tanja](https://forum.rasa.com/u/Tanja)\
**Post date:** [April 8, 2020, 6:58am UTC](https://forum.rasa.com/t/rasa-sdk-endpoint-failed-to-extract-slot-company-with-action-sales-form/27110/6 "2020-04-08T06:58:52Z")

</div>

Thanks for the details! Your assistant does not recognize `cumbre` as a company. Due to that it is not able to fill the slot. You can see that here:

 ![log](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/f/f1b1e86e1ed678e5d475d4c0ba010a3ea5b40713.png)

I would recommend the following:

(1) Add a lookup table with company names to your training data (see [NLU Training Data](https://rasa.com/docs/rasa/nlu/training-data-format/#lookup-tables)).

(2) Add some more examples to your training data that contain a company name. Make sure to use some company names that are in the lookup table itself.

(3) Keep the `RegexFeaturizer` in your pipeline, so that the lookup table is converted into additional features.

If that is still not working very well, you can also try the following pipeline instead:

```auto
language: en
pipeline:
  - name: WhitespaceTokenizer
  - name: RegexFeaturizer
  - name: CRFEntityExtractor
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: "char_wb"
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 100
    entity_recognition: False
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100

```
