Encountered an exception while running action 'action_invoice_api'.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information

Please help me what this error is, also given files. actions.py (1.6 KB) stories.yml (3.1 KB) domain.yml (1.1 KB) nlu.yml (2.7 KB)

2024-04-02 12:40:21 ERROR    rasa_sdk.endpoint  - Exception occurred during execution of request <Request: POST /webhook>
Traceback (most recent call last):
  File "handle_request", line 83, in handle_request
  File "C:\Users\Shanty\anaconda3\envs\rasa_test\lib\site-packages\rasa_sdk\endpoint.py", line 113, in webhook
    result = await executor.run(action_call)
  File "C:\Users\Shanty\anaconda3\envs\rasa_test\lib\site-packages\rasa_sdk\executor.py", line 399, in run
    action(dispatcher, tracker, domain)
  File "C:\Users\Shanty\PycharmProjects\rasa_test\actions\actions.py", line 19, in run
    invoice_response = get_invoice_details(number, category)
  File "C:\Users\Shanty\PycharmProjects\rasa_test\invoice_all.py", line 28, in get_invoice_details
    input_user = info.lower()
AttributeError: 'NoneType' object has no attribute 'lower'