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

Object not updating #321

Closed
brianjd opened this issue Aug 31, 2016 · 2 comments
Closed

Object not updating #321

brianjd opened this issue Aug 31, 2016 · 2 comments

Comments

@brianjd
Copy link

brianjd commented Aug 31, 2016

I'm currently using the client to hook into my model/object lifecycle, but updates aren't working. Currently, I'm calling saveObject and passing it the necessary arguments (a document with the necessary objectID & callback), no error is returned, and I receive the taskID from Algolia. But the document doesn't update. I thought maybe I had the wrong API keys, and therefore manipulating the wrong index, but that isn't the case. Any thoughts?

@vvo
Copy link
Contributor

vvo commented Aug 31, 2016

Hi @brianjd, we are not aware of any issue using saveObject to update objects.

If there's no error and you receive the taskID then you are all good and once the taskID is done (use waitTask for that: https://github.com/algolia/algoliasearch-client-js#wait-for-operations---waittask) then the object should be updated.

I would advise your to double check everything and if it's still not working to send an email to support@algolia.com, mentioning this issue and my name: Vincent.

Then we will work on it privately, using your API keys and trying to reproduce the issue.

Let me know how it goes.

@brianjd
Copy link
Author

brianjd commented Sep 2, 2016

@vvo Used waitTask, still no error, still no update. Sent email.

Thanks

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

No branches or pull requests

2 participants