Error: 'You need to specify a value for the key 'entity' in the slot mapping of type 'from_entity' for slot 'user_ID'

I am getting this error (Error: 'You need to specify a value for the key ‘entity’ in the slot mapping of type ‘from_entity’ for slot ‘user_ID’), for my defined slot user_ID which has a mapping type ‘from_entity’ with entity: ID Full code below. Please advise, as in the documentation, only from_intent has a mandatory value needed. What should I do to fix it?

My Rasa config:

Rasa Version      :         3.0.0
Minimum Compatible Version: 3.0.0
Rasa SDK Version  :         3.1.0
Rasa X Version    :         None
Python Version    :         3.8.10
Operating System  :         Windows-10-10.0.19045-SP0
Python Path       :         c:\users\geeks\appdata\local\programs\python\python38\python.exe

My domain file:

version: "3.0"

  

intents:

- greet

- affirm

- deny

- goodbye

- inquire_details

- bot_challenge

  

entities:

- ID

  

slots:

user_ID:

type: text

mappings:

- type: from_entity

- entity: ID

  

responses:

utter_greet:

- text: "Hey! How are you?"

  

utter_prompt:

- text: "Do you want to look up the details for a certain ID?"

  

utter_goodbye:

- text: "Bye"

  

utter_iamabot:

- text: "I am a bot, powered by Rasa."

  

actions:

- action_givedetails

  

session_config:

session_expiration_time: 60

carry_over_slots_to_new_session: true

Hi @geeksid, remove the hyphen from - entity: ID

mappings:
   - type: from_entity
     entity: ID

Thank you! That, and an indentation issue were the culprits