You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 14, 2018. It is now read-only.
(lldb) po error
▿ DecodingError
▿ dataCorrupted : Context
▿ codingPath : 4 elements
- 0 : CodingKeys(stringValue: "data", intValue: nil)
▿ 1 : _JSONKey(stringValue: "Index 4", intValue: 4)
- stringValue : "Index 4"
▿ intValue : Optional<Int>
- some : 4
- 2 : CodingKeys(stringValue: "location", intValue: nil)
- 3 : CodingKeys(stringValue: "id", intValue: nil)
- debugDescription : "Parsed JSON number <531383683876521> does not fit in Int."
- underlyingError : nil
Instagram sends strings for ids for pretty much everything, but it seems it sends ints for locations. Huge ints at that. They don't fit in 64 bits and the swift parser doesn't like that at all.
Edited/censored offending JSON. The data within the location node hasn't been altered:
Instagram sends strings for ids for pretty much everything, but it seems it sends ints for locations. Huge ints at that. They don't fit in 64 bits and the swift parser doesn't like that at all.
Edited/censored offending JSON. The data within the location node hasn't been altered:
The text was updated successfully, but these errors were encountered: