Git Product home page Git Product logo

Comments (4)

asgoel avatar asgoel commented on September 15, 2024

Here is the body, separated out, looks like it's actually not valid JSON.

 "{\"multicast_id\":5100906380876488637,\"success\":1,\"failure\":0,\"canonical_ids\":0,\"results\":[{\"message_id\":\"0:1501697155598441%2e36f6e02e36f6e0\"}]}{\"multicast_id\":5670313992973191076,\"success\":1,\"failure\":0,\"canonical_ids\":0,\"results\":[{\"message_id\":\"0:1501697155958054%2e36f6e02e36f6e0\"}]}"

from pigeon.

hpopp avatar hpopp commented on September 15, 2024

That looks like two JSON responses chunked into the same stream response with one cleaved off. I bet its probably related to #84

Edit: it's two valid responses lumped together into one string. Hm.

from pigeon.

asgoel avatar asgoel commented on September 15, 2024

Yeah, that's why I was confused... could be related to #84 but could also be just bad JSON from FCM. The obvious hack is to add square brackets around the entire thing if Poison can't parse it, and try again, but that seems a little sketchy

from pigeon.

hpopp avatar hpopp commented on September 15, 2024

Has this, #84, or #85 cropped up recently?

from pigeon.

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.