The above configuration gives me the following error:
{"message":"null value not allowed outside of body near line:1 column:46","status":400}
Error: {"message":"null value not allowed outside of body near line:1 column:46","status":400}
Elapsed 00:00:00.0590000.
I tested this today (I’m using Squidex Cloud) and I’m still getting the following error:
{"message":"null value not allowed outside of body near line:1 column:46","status":400}
Error: {"message":"null value not allowed outside of body near line:1 column:46","status":400}
Elapsed 00:00:00.0150000.
Hi Sebastian, I’m currently working on a “Reviews” section/feature that will require review schema items to be deleted automatically by the system (Squidex) when a user decides to delete her review from within my web app. The deletion will in turn trigger an Algolia “Delete” action that deletes the review record from the Algolia index. For my other schemas I have been able to get around the error message above by manually deleting the record from Algolia. This is fine because those schemas do not change that regularly and are not as critical to the user’s own interactions in my app. Review items are more critical however. So what I’m wondering is if you’ve had some time to investigate further? And if you need some help in reproducing it or something else just let med know! Thanks!
Okay, I deleted a review content item and I get this in the logs:
{"message":"null value not allowed outside of body near line:1 column:46","status":400}
Error: {"message":"null value not allowed outside of body near line:1 column:46","status":400}
Elapsed 00:00:00.0660000.
{"message":"null value not allowed outside of body near line:1 column:46","status":400}
Error: {"message":"null value not allowed outside of body near line:1 column:46","status":400}
Elapsed 00:00:00.0770000.
It seems it tries to delete the review from the index eventhough I have not specified: event.type == 'Unpublished' || event.type == 'Deleted'
Not, not really. Old jobs might still be invalid, but new changes should work. I can have a look again or if you wantto provide a PR it would also be appreciated.