
I have some users who are getting the following error when trying to approve time entries. I have checked they have all privileges except delete for the Time Entry table. Anyone know how to fix this?
Exception Message: The status of one or more time entries couldn't be changed. The action is not allowed.
ErrorCode: -2147220891
HexErrorCode: 0x80040265
Error Details: {"errorCode":2147746405,"message":"The status of one or more time entries couldn't be changed. The action is not allowed.","code":2147746405,"innerror":{"message":"The status of one or more time entries couldn't be changed. The action is not allowed.","stacktrace":null},"raw":"{\"_request\":{},\"_error\":\"{\\\"error\\\":{\\\"code\\\":\\\"0x80040265\\\",\\\"message\\\":\\\"The status of one or more time entries couldn't be changed. The action is not allowed.\\\",\\\"
Hi Jon,
Based on the error message, I see users are bulk approving time entries. I myself have experienced this error.
One of the reason for this error is the user (by accident) must have click approve twice. This caused 2 operations to happen in parallel. One successfully processed the approval, while the other ended up timing out leading to error.
After a time entry is approved, an actuals is created, so for the entries you received an error, check if the actuals is created. If yes, then this is the reason as one of the operation would have successfully processed it.
If not, please check if you have any custom plugins registered on time entries and actuals as that could also contribute to this error.
Thanks,
Rakesh
If this is helpful, please mark it as verified.