API Issue mobile app #2

Closed
opened 2024-02-29 09:18:41 +00:00 by georg · 1 comment
Member

I get the following error when trying to open the home timeline (not only Metatext affected)

{
"alertLocation" : {
"file" : "ViewModels/CollectionItemsViewModel.swift",
"function" : "request(maxId:minId:)",
"line" : 370
},
"app" : {
"build" : "90",
"bundle" : "com.gotgoat.metatext",
"version" : "1.7.2"
},
"error" : {
"error" : {
"dataCorrupted" : {
"context" : {
"codingPath" : [
"_JSONKey(stringValue: "Index 4", intValue: 4)",
"CodingKeys(stringValue: "createdAt", intValue: nil)"
],
"debugDescription" : "Unable to parse ISO8601 date"
}
}
},
"method" : "GET",
"requestLocation" : {
"file" : "ServiceLayer/TimelineService.swift",
"function" : "request(maxId:minId:)",
"line" : 93
},
"url" : "https://my.url.com/api/v1/timelines/home"
},
"message" : "GET https://my.url.com/api/v1/timelines/home\n\ndataCorrupted(context: HTTP.AnnotatedDecodingError.EncodableContext(codingPath: ["_JSONKey(stringValue: \"Index 4\", intValue: 4)", "CodingKeys(stringValue: \"createdAt\", intValue: nil)"], debugDescription: "Unable to parse ISO8601 date", underlyingError: nil))",
"system" : {
"idiom" : "phone",
"model" : "iPhone",
"name" : "iOS",
"version" : "17.3.1"
},
"title" : "AnnotatedDecodingError",
"type" : "AnnotatedDecodingError"
}

I get the following error when trying to open the home timeline (not only Metatext affected) { "alertLocation" : { "file" : "ViewModels/CollectionItemsViewModel.swift", "function" : "request(maxId:minId:)", "line" : 370 }, "app" : { "build" : "90", "bundle" : "com.gotgoat.metatext", "version" : "1.7.2" }, "error" : { "error" : { "dataCorrupted" : { "context" : { "codingPath" : [ "_JSONKey(stringValue: \"Index 4\", intValue: 4)", "CodingKeys(stringValue: \"createdAt\", intValue: nil)" ], "debugDescription" : "Unable to parse ISO8601 date" } } }, "method" : "GET", "requestLocation" : { "file" : "ServiceLayer/TimelineService.swift", "function" : "request(maxId:minId:)", "line" : 93 }, "url" : "https://my.url.com/api/v1/timelines/home" }, "message" : "GET https://my.url.com/api/v1/timelines/home\n\ndataCorrupted(context: HTTP.AnnotatedDecodingError.EncodableContext(codingPath: [\"_JSONKey(stringValue: \\\"Index 4\\\", intValue: 4)\", \"CodingKeys(stringValue: \\\"createdAt\\\", intValue: nil)\"], debugDescription: \"Unable to parse ISO8601 date\", underlyingError: nil))", "system" : { "idiom" : "phone", "model" : "iPhone", "name" : "iOS", "version" : "17.3.1" }, "title" : "AnnotatedDecodingError", "type" : "AnnotatedDecodingError" }
Author
Member

I did some database maintenance tasks. Afterwards everything was fine. Sorry for confusion.

I did some database maintenance tasks. Afterwards everything was fine. Sorry for confusion.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-api#2
No description provided.