Algolia complains about the json #569
Magneticdud
started this conversation in
General
Replies: 2 comments 4 replies
-
@Magneticdud, could you please point me to the GitHub repository in question, specifically the webhook that uploads the indexes to Algolia? |
Beta Was this translation helpful? Give feedback.
4 replies
-
I solved the problem. A few months ago, they changed the CLI tool to accept only "new line delimited json" (pretty json) and it didn't understand normal minimized json. This isn't mentioned at all in the documentation, i accidentally noticed it from the output it was making when it exported existing objects so i just need to add newlines and prettify the json before uploading:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi, in february 2023 i started to use this theme and i setup algolia to be updated via
algolia objects import [...]
during the webhook and all was working ok.But now i noticed in the error log:
Did i do something wrong? I added the theme as a submodule so it should be the latest version every single time (the webhook does a
git submodule update --recursive --remote
on the theme directory when a new commit is pushed)Edit: and I opened the json and it doesn't look like wrong. It seems valid, and manually uploading it on the algolia website does not give errors
Beta Was this translation helpful? Give feedback.
All reactions