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]: API version outdated - searching for documents fails #470

Open
Aporiatic opened this issue Dec 31, 2024 · 0 comments
Open

[Bug]: API version outdated - searching for documents fails #470

Aporiatic opened this issue Dec 31, 2024 · 0 comments

Comments

@Aporiatic
Copy link

2024-12-31 15:25:41.398 DEBUG --- [ AuthenticationCubit] - _getApiVersion : Trying to fetch API version...
2024-12-31 15:25:41.444 WARNING --- [ AuthenticationCubit] - _getApiVersion : The server is running a newer API version (5) than the app supports (v3), falling back to latest supported version (v3). Warning: This might lead to unexpected behavior!
2024-12-31 15:25:41.445 DEBUG --- [ AuthenticationCubit] - _getApiVersion : Successfully retrieved API version (3).
2024-12-31 15:25:41.445 DEBUG --- [ InboxCubit] - refreshItemsInInboxCount : No new documents found in inbox.
2024-12-31 15:26:26.915 ERROR --- [ ] - main : An unexpected error occurred - Error listing search results, check logs for more detail.
---BEGIN STACKTRACE---
#0 PaperlessDocumentsApiImpl.findAll (package:paperless_api/src/modules/documents_api/paperless_documents_api_impl.dart:111)

#1 DocumentPagingBlocMixin.updateFilter (package:paperless_mobile/features/paged_document_view/cubit/document_paging_bloc_mixin.dart:89)

#2 DocumentSearchCubit.search (package:paperless_mobile/features/document_search/cubit/document_search_cubit.dart:55)

---END STACKTRACE---
2024-12-31 15:26:50.922 DEBUG ---

Searching for documents fails, and the logs provide me with this information. Seems like the API of the mobile app is outdated. Hope this helps. :)

@Aporiatic Aporiatic changed the title [Bug]: [Bug]: API version outdated - searching for documents fails Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant