Microsoft o365_token.txt

I built an application with Langchain to chat with PDFs residing on SharePoint. My application is working locally where the program created the .credentials folder. But when I try to host it on Streamlit, it gives the following error:

ValidationError: 1 validation error for _O365TokenStorage
token_path file or directory at path "/home/appuser/.credentials/o365_token.txt" does not
exist (type=value_error.path.not_exists; 
path=/home/appuser/.credentials/o365_token.txt)

Where should this file be posted or created?

Any help is greatly appreciated.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.