ListFolders() error on certain mailboxes

Hi,
when calling IGraphClient.ListFolders() it returns an error, but only on some mailboxes.
This is the error:
‘JSON integer 2199611963 is too large or small for an Int32. Path ‘value[8].sizeInBytes’, line 1, position 3642.’
How do i fix this? Is there some setting in the email that needs too be changed?
We have many different mailboxes that needs to be looped, and only 4 out of 29 fails to do so.

Hello @hoejegaard,

There is an assumption that some folders have a large size. Can you check and share the folders sizes, for mailboxes that are having problem? Thanks.

Yes, the folders in question does indeed contain more data than the others.
I cant access the ID of the folder i wish to access without looping them. Is there any other way to get the ID?
Right now i use ListFolders(), and then a foreach to find the folder ID of the folder with a matching Displayname.

Hello,

Thank you for the confirmation. We will try to reproduce the problem on our side and then, fix it.

We have opened the new ticket in our internal issue tracking system.

Issue ID(s): EMAILNET-40953

Thanks.

Thank you, let me know if i can assist somehow further.