Read o365 sent folder - Email Module - Error


I have a problem with folder reads.
I have configured the oauth2 connection correctly with the o365 mail service and I can tokenize.

When setting up my inbox mail, I can see the inbox folders, deleted folder and sent folder.

The problem is that when I open the email module, it reads the inbox but when I want to switch to the sent folder, it does not reload correctly and I get back to the inbox.

I have tried to set up an inbox with only monitoring the sent folder, but in the email module it does not read me correctly and I always get the inbox.

Checking in the suitecrm log, I get this error every time I select the email module.

I can’t figure out what I have to change to make it work correctly.

SuiteCRM : 7.13.1
PHP: 8.0.28