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

💡 Typesense\Exceptions\ObjectNotFound errors should be overriden with more descriptive error message #478

Open
pushrbx opened this issue Jan 23, 2024 · 0 comments

Comments

@pushrbx
Copy link
Collaborator

pushrbx commented Jan 23, 2024

There is a need to add some sort of override to let people know that the Typesense API error saying that "xyz field is missing" error only happens when their typesense instance is empty when self hosting.

Example error:
Could not find a field named rank in the schema for sorting.

Expected behaviour instead:

Could not find a field named `rank` in the schema for sorting. 
Please check whether you have data in your typesense instance. 
If the problem persists after populating typesense with data please raise an issue with the link below.

Related issues: #477 #476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant