Skip to content

Instantly share code, notes, and snippets.

@wertercatt
Created October 15, 2023 23:35
Show Gist options
  • Save wertercatt/475467ba832367171e5d3703df1ce93e to your computer and use it in GitHub Desktop.
Save wertercatt/475467ba832367171e5d3703df1ce93e to your computer and use it in GitHub Desktop.
{
"alertLocation" : {
"file" : "ViewModels/CollectionItemsViewModel.swift",
"function" : "request(maxId:minId:search:)",
"line" : 370
},
"app" : {
"build" : "76",
"bundle" : "com.gotgoat.metatext",
"version" : "1.7.2"
},
"error" : {
"error" : {
"typeMismatch" : {
"context" : {
"codingPath" : [
"_JSONKey(stringValue: \"Index 0\", intValue: 0)",
"CodingKeys(stringValue: \"quote\", intValue: nil)"
],
"debugDescription" : "Expected to decode Dictionary<String, Any> but found bool instead."
},
"type" : "Swift.Dictionary<Swift.String, Any>"
}
},
"method" : "GET",
"requestLocation" : {
"file" : "ServiceLayer/TimelineService.swift",
"function" : "request(maxId:minId:search:)",
"line" : 93
},
"url" : "https://kitsunes.gay/api/v1/timelines/home"
},
"message" : "GET https://kitsunes.gay/api/v1/timelines/home\n\ntypeMismatch(type: \"Swift.Dictionary<Swift.String, Any>\", context: HTTP.AnnotatedDecodingError.EncodableContext(codingPath: [\"_JSONKey(stringValue: \\\"Index 0\\\", intValue: 0)\", \"CodingKeys(stringValue: \\\"quote\\\", intValue: nil)\"], debugDescription: \"Expected to decode Dictionary<String, Any> but found bool instead.\", underlyingError: nil))",
"system" : {
"idiom" : "phone",
"model" : "iPhone",
"name" : "iOS",
"version" : "17.0.3"
},
"title" : "AnnotatedDecodingError",
"type" : "AnnotatedDecodingError"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment