Failed to execute custom action on kubernetes action server

I have a Rasa chatbot that is used to navigate through menus and at the end there is two questions the first one is to rate the chatbot and the second one is to give feedback, after the feedback got filled a custom action should run to insert a record in a google sheet

I have 4 custom actions 3 are working fine while the one that is responsible for inserting in Google sheet is working sometimes and sometimes not.

This custom action exists in two places 1- In the yaml code 2- In the navigation custom action

Note: I am filling the run function with dispatcher.utter_message and the code is inside try & except block

logs before the action server go down

Installing collected packages: uritemplate, pyparsing, pyasn1, proto-plus, oauthlib, cachetools, rsa, requests-oauthlib, pyasn1-modules, httplib2, google-auth, google-auth-oauthlib, google-auth-httplib2, google-api-core, google-api-python-client
Successfully installed cachetools-5.3.3 google-api-core-2.18.0 google-api-python-client-2.126.0 google-auth-2.29.0 google-auth-httplib2-0.2.0 google-auth-oauthlib-1.2.0 httplib2-0.22.0 oauthlib-3.2.2 proto-plus-1.23.0 pyasn1-0.6.0 pyasn1-modules-0.4.0 pyparsing-3.1.2 requests-oauthlib-2.0.0 rsa-4.9 uritemplate-4.1.1
WARNING: Skipping oauth2client as it is not installed.
2024-04-20 04:36:50 INFO     rasa_sdk.executor  - Registered function for 'action_handle_chatbot_feedback'.
2024-04-20 04:36:50 INFO     rasa_sdk.executor  - Registered function for 'action_handle_agent_feedback'.
2024-04-20 04:36:50 INFO     rasa_sdk.executor  - Registered function for 'action_handle_options'.
2024-04-20 04:36:50 INFO     rasa_sdk.executor  - Registered function for 'action_handle_post_feedback'.
2024-04-20 04:36:50 INFO     rasa_sdk.endpoint  - Starting plugins...    
2024-04-20 04:36:50 INFO     rasa_sdk.endpoint  - Action endpoint is up and running on http://0.0.0.0:5055
/opt/venv/lib/python3.10/site-packages/rasa_sdk/utils.py:284: UserWarning: Your versions of rasa and rasa_sdk might not be compatible. You are currently running rasa version 3.5.17 and rasa_sdk version 3.8.0.
To ensure compatibility use the same version for both, modulo the last number, i.e. using version A.B.x the numbers A and B should be identical for both rasa and rasa_sdk.
  warnings.warn(
2024-04-20 04:38:28 INFO     googleapiclient.discovery_cache  - file_cache is only supported with oauth2client<4.0.0

I would enable --debug so you can see the calls being made to each action. Don’t see any issues with the above log. What does the rasa log show?