Giter Club home page Giter Club logo

Comments (5)

Calemy avatar Calemy commented on June 1, 2024 2

seems to work out. thanks you a lot! :)

from meilisearch.

irevoire avatar irevoire commented on June 1, 2024

Hey, I don’t know what is « an undefined body », I guess it’s related to the SDK you’re using, but I’ll really need more info on that.
Is it happening because of the missing content type?

from meilisearch.

Calemy avatar Calemy commented on June 1, 2024

an undefined body in javascript basically just means that the content being sent to the router has nothing in it.
I've been trying for days to find out why that is, but can't seem to find any reasonal logic for it.
I also have an open issue on the fastify/help repo (fastify/help#998 (comment))
To the conclusion there is that the format is not gzip/ndjson as expected. Any ideas would be highly appreciated because i'm losing it at this point.

from meilisearch.

irevoire avatar irevoire commented on June 1, 2024

To the conclusion there is that the format is not gzip/ndjson as expected.

I can guarantee you that the format is gzip+ndjson.
I really tried to reproduce your issue in Rust and see if anything seemed wrong, but tbh, I don’t understand what is going on on your side.

I crafted a really small repository to show you exactly what I did to make it work.
I tried to hide all possible magic stuff by uncompressing the payload myself and deserializing the jsonlines myself as well.

https://github.com/meilisearch/meilisearch-webhook-usage-example

from meilisearch.

irevoire avatar irevoire commented on June 1, 2024

@Calemy, can we close the issue since you have a solution in fastify/help#998

from meilisearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.