Error in Secret Keys

I am receiving this error “AttributeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).”

However, I added all secrets to the “secrets” area for streamlit cloud. The app was working fine before now it is showing the error upon retrieving AWS credentials. Please advise.

Have you created the TOML file with secrets and is it running locally?

May be this reference could help: Secrets Management & Securely Connect to Private Data Sources