I was trying to pull adjusted prices for a particular stock using the LSEG API, which was working fine till yesterday. However, while trying to pull the same today, I ran into an error (as shared in the screenshot). Could you please help me identify and rectify the issue?
- Currently using the LSEG Data Library for Python.
- Using the Workspace Desktop Session.
3. Are you experiencing this error within the Workspace application, or in another application that is integrated with Workspace (for example, one of your own applications)?
The error occurs in an external standalone Python application that integrates with Workspace via the LSEG Data Library for Python (import lseg.data as ld). The error specifically triggers on the ld.open_session() / data request functions when trying to pull historical data using ld.get_history()
4. Is the Workspace application open when you encounter this error?
Yes, the LSEG Workspace desktop application is open, running, and I am actively logged into my account on the same machine where the script is executed. The code had been running perfectly until today, but it is now throwing a "Session is not opened" exception during authentication.