Currently I have 3 different SharePoint environments; DEV,UAT and PROD. These environments have same server topology and same software installations.
I populate some SharePoint lists and a SQL Server database with PowerShell. PowerShell script works fine under DEV and UAT. It also works well on PROD. However, whenever I run the script in the PROD, SharePoint site starts displaying;
Sorry, something went wrong
The context has expired and can no longer be used. (Exception from HRESULT:X80090317)
There is no such problem neither on DEV nor UAT. I assume that some configurations are different on the PROD but I couldn't find which ones they are.
What is the problem here? How can I avoid this?