Hutch python shows a 403 authorization error after if scientists change active experiments. This is because the opr accounts only have privilege to post to active experiments. I suggest every elog.post request checks the current experiment instead of relying on a cached experiment at initialization.
Context / environment
Observed scientists in the hutch run into this error multiple times over the last week
Steps to Reproduce (for bugs)
- login to a hutch machine and start hutch python
- change the active experiment
- try elog.post
See photos
Suggested Solution

Hutch python shows a 403 authorization error after if scientists change active experiments. This is because the opr accounts only have privilege to post to active experiments. I suggest every elog.post request checks the current experiment instead of relying on a cached experiment at initialization.
Context / environment
Observed scientists in the hutch run into this error multiple times over the last week
Steps to Reproduce (for bugs)
See photos
Suggested Solution