Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: No value associated with key exp #37

Open
juliettebee opened this issue Oct 19, 2024 · 5 comments
Open

[Bug]: No value associated with key exp #37

juliettebee opened this issue Oct 19, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@juliettebee
Copy link

Summary

Getting user's timeline returns an error

Reproduction Steps

Sign in, then run try await atProto.getTimeline(). This also happens when running try await safeAtproto.getSuggestedFeeds()

Expected Results

An error not to be thrown

Actual Results

The follow errors are thrown:

keyNotFound(CodingKeys(stringValue: "exp", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "feeds", intValue: nil), _CodingKey(stringValue: "Index 13", intValue: 13), CodingKeys(stringValue: "creator", intValue: nil), CodingKeys(stringValue: "labels", intValue: nil), _CodingKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"exp\", intValue: nil) (\"exp\").", underlyingError: nil))
keyNotFound(CodingKeys(stringValue: "exp", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "feed", intValue: nil), _CodingKey(stringValue: "Index 3", intValue: 3), CodingKeys(stringValue: "post", intValue: nil), CodingKeys(stringValue: "author", intValue: nil), CodingKeys(stringValue: "labels", intValue: nil), _CodingKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"exp\", intValue: nil) (\"exp\").", underlyingError: nil))

What operating systems did you experience this bug? (We'll count Docker as an operating system.)

Other

Operating System Version

iOS 18.1 (22B5075a)

ATProtoKit Version

main branch (de8c222)

Additional Context

Thank you so much for your help!

@juliettebee juliettebee added the bug Something isn't working label Oct 19, 2024
@MasterJ93
Copy link
Owner

This is something I've been trying to fix for the past little while and it keeps popping up. I'm still looking into it.

@MasterJ93 MasterJ93 moved this to Todo in ATProtoKit Oct 21, 2024
@MasterJ93 MasterJ93 moved this from Todo to In Progress in ATProtoKit Oct 21, 2024
@MasterJ93
Copy link
Owner

MasterJ93 commented Oct 21, 2024

Wait a minute... I'm just now realizing that this was made at 7:44 PM yesterday. I think I've updated ATProtoKit by then. Please update the project and see if the issue persists.

Edit: Okay: the branch you're showing is the latest one. Okay, so yes: it's still persisting. Stubborn little bug that is. I'll get to work on it.

@MasterJ93
Copy link
Owner

I've temporarily disabled the ability to see that specific property. This will be live in the next patch. I'll look into it a bit further, but the path of least resistance right now is to temporarily disable it. It'll be back in a future update.

This issue will remain open until I know it's fixed.

@juliettebee
Copy link
Author

Sorry for such a late response! Latest commit at the time (7321b8c) fixes this issue. Thank you so much

@MasterJ93
Copy link
Owner

Great!

... however, I can't close this issue until I re-enable the property with the confidence that it won't cause any more trouble. I'll be leaving this open until then. I may ask you to see if it comes back once I do, if you don't mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants