Hello. When trying to update the queue in cases of BE or other issues , I get this error : Process has encountered the following system error:
Update Queue Item request failed with status 403 and message {“message”:“You are not authorized!”,“errorCode”:0,“result”:null,“targetUrl”:null,“success”:false,“error”:{“code”:0,“message”:“You are not authorized!”,“details”:“You are not allowed to perform this operation.”,“validationErrors”:null},“unAuthorizedRequest”:true,“__abp”:true}
The issue seems to be related specifically to transaction progress updates, because the status of the queue can be updated, only the content of the queue can not.
Are you trying to update the queue specific content via api? if yes then ideally you can when the item is not in progress and you have enough permissions
When the item is in progress, its content can not be updated, only its status can be updated.
Could you please help us understand what are you trying to update in the queue item while it’s in progress? May be then we can advise an alternate solution if any?
Few workarounds that you can try to update your queue item content.
temporarily hold the change in your transaction item variable, and then as soon as the status has been changed to success/failed, use update queue item with the updated specific content from your transaction item variable to reflect the changes.
after the status is changed to success/failed, use get queue item to retrieve this item, and use update queue item to update the specific content.