GetQuota System.OverflowException

Hi,
we’re encountering this error sometimes when we’re using “Aspose.Email.Clients.Imap.ImapClient.GetQuotaRoot” method.

We’re using Aspose.Email 20.9.1

Exception Properties

Show less

Event time 10/12/2020, 08:57:19 (Local time)
Message Value was either too large or too small for an Int32. Value was either too large or too small for an Int32. Value was either too large or too small for an Int32.
Exception type System.OverflowException
Failed method #=zLD9BIjr7q8m5IYBKmTm_R7DLR5ZpA3MykEW0zk4=.#=zSZ5N1s6qgq9L
Problem Id System.OverflowException at #=zLD9BIjr7q8m5IYBKmTm_R7DLR5ZpA3MykEW0zk4=.#=zSZ5N1s6qgq9L
Assembly Aspose.Email, Version=20.9.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56
Telemetry type exception
Aspose.Email.AsposeException:
 at #=zCaT13LiJ13UdPu_RtfZj$5aWvtDr.#=zk7dZIe0= (Aspose.Email, Version=20.9.1.0, 
Culture=neutral, PublicKeyToken=716fcc553a201e56)
 at #=zCaT13LiJ13UdPu_RtfZj$5aWvtDr.#=zk7dZIe0= (Aspose.Email, Version=20.9.1.0, 
Culture=neutral, PublicKeyToken=716fcc553a201e56)
 at Aspose.Email.Clients.Imap.ImapClient.EndGetQuotaRoot (Aspose.Email, Version=20.9.1.0, 
Culture=neutral, PublicKeyToken=716fcc553a201e56)
 at Aspose.Email.Clients.Imap.ImapClient.GetQuotaRoot (Aspose.Email, Version=20.9.1.0, 
Culture=neutral, PublicKeyToken=716fcc553a201e56)
...
Inner exception Aspose.Email.AsposeException handled at 
#=zCaT13LiJ13UdPu_RtfZj$5aWvtDr.#=zk7dZIe0=:
 at #=zCaT13LiJ13UdPu_RtfZj$5aWvtDr.#=zk7dZIe0= (Aspose.Email, Version=20.9.1.0, 
Culture=neutral, PublicKeyToken=716fcc553a201e56)
 at #=zCaT13LiJ13UdPu_RtfZj$5aWvtDr.#=zMf8af9s= (Aspose.Email, Version=20.9.1.0, 
Culture=neutral, PublicKeyToken=716fcc553a201e56)
 at #=zp0T2B3CvOoqNeZ$Lk$$kiHJ5pbTjB_VNc_F9HW9nnHYV.#=zAyDj7wg= (Aspose.Email, 
Version=20.9.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
 at #=zemV0JXWiwVgki2VQM$EEX50uywCHCr01VA==.#=z2HsEFrK6Lp5Y (Aspose.Email, 
Version=20.9.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
Inner exception System.OverflowException handled at 
#=zCaT13LiJ13UdPu_RtfZj$5aWvtDr.#=zk7dZIe0=:
 at System.Number.ParseInt32 (mscorlib, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089)
 at #=zLD9BIjr7q8m5IYBKmTm_R7DLR5ZpA3MykEW0zk4=.#=zSZ5N1s6qgq9L (Aspose.Email, 
Version=20.9.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zWg56rP_EbIG2XXFutwacouV3srRRCf6odzhwPs0=.#=zxV158K5UPHUk (Aspose.Email, 
Version=20.9.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zMuqaIEsMR1P4nkX1LGgZ4lqE1Kv2iIUsW25wlwM=.#=zweyDtus= (Aspose.Email, 
Version=20.9.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)

@biagio_carratu_dedagroup_it

Can you please try using latest Aspose.Email for .NET 20.11 on your end. In case there is still an issue then please share the working sample code along with source file reproducing the issue on your end.