Skip to content

[BUG]: Sync fails with memos server v0.25.x (GetAuthStatus UNIMPLEMENTED error) #52

@SR023

Description

@SR023

Environment

  • Obsidian version: v1.9.12
  • Plugin version: 0.5.2
  • Memos server version:
    • Works fine on v0.24.x
    • Fails on v0.25.0+

Bug Description

When upgrading memos server from 0.24.x → 0.25.0, the Obsidian Memos Sync plugin fails to sync.

The error message:

Uncaught (in promise) ClientError: /memos.api.v1.AuthService/GetAuthStatus UNIMPLEMENTED: unknown method GetAuthStatus for service memos.api.v1.AuthService
    at makeCall (plugin:memos-sync:2553:17)
    at async Object.unaryMethod [as next] (plugin:memos-sync:2785:26)
    at async devtoolsLoggingMiddleware (plugin:memos-sync:13223:12)
    at async Object.eval [as getAuthStatus] (plugin:memos-sync:2809:22)
    at async MemosPaginator0220.foreach (plugin:memos-sync:3383:27)
    at async DailyMemos.insertDailyMemos (plugin:memos-sync:23236:24)

Steps to Reproduce

  1. Run Memos server v0.25.0 (or newer).
  2. Open Obsidian with the Memos Sync plugin v0.5.2 enabled.
  3. Attempt to sync.
  4. Error occurs.

Expected Behavior

  • Sync should work as it does with Memos server v0.24.x.

Actual Behavior

  • Sync fails with GetAuthStatus UNIMPLEMENTED error.

Additional Notes

  • It looks like Memos server v0.25.x may have changed or removed the GetAuthStatus method in memos.api.v1.AuthService.
  • The plugin may need to be updated to support the new API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions