We're using the .NET API. Sometimes, when we hit CloudClientManager.GetDeviceInfo(HttpContext), we get this exception:
Code: Select all
System.FormatException: String was not recognized as a valid DateTime
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at ScientiaMobile.WurflCloud.Cache.CookieWurflCloudCache.GetDevice(HttpContextBase context)
at ScientiaMobile.WurflCloud.Http.CloudClient.SendRequest(HttpContextBase context, String url, Boolean uaMayBeDifferent)
However, as we can't see the source, we're just guessing.
We know we've seen this in ru-RU, but we think we've observed it in other cultures as well, including seemingly en-US.
Can you provide more information on what DateTime you're parsing, what formatinfo you're using to do the parse? Is there a fix on your end where you could use the invariant culture?
Thanks for any help.