Project Task API - 401 Error

I randomly get a 401 error when calling ‘Statuses’, ‘Priorities’, and ‘Types’.

This happens in Postman and via my powershell script (v5.1). The pm API does not work with PSv7.

The odd thing is, the 401 failure does not happen every time, It does not happen on the same project every time. If it fails, I can call it again and it will work.

I’ve tried inserting a wait timer of 15 second between api calls - that does not solve it.

I never had a problem before 3/20/2024. The issue started on 3/28/2024. I made no attempts between 3/21 and 3/27.