logicapps icon indicating copy to clipboard operation
logicapps copied to clipboard

HTTP trigger automatic deserialization from json loss of precision

Open niphlod opened this issue 5 months ago • 8 comments

Describe the Bug

When trying to start a logicapp standard with an http trigger with this body

{
    "eventId": "92B82EA7-F64A-4A79-B8B9-019884278723",
    "data": {
        "ticks": 1754563833779314822
    }
}

the "triggerbody()" contains a slightly different number for "ticks"

{
    "eventId": "92B82EA7-F64A-4A79-B8B9-019884278723",
    "data": {
        "ticks": 1754563833779315000
    }
}

Plan Type

Standard

Steps to Reproduce the Bug or Issue

  1. Create a standard logicapp with an http trigger
  2. Send in the provided body
  3. inspect the run and see the output from the trigger with an incorrect "ticks" property

Workflow JSON


Screenshots or Videos

No response

Additional context

No response

niphlod avatar Aug 07 '25 11:08 niphlod

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] avatar Sep 21 '25 12:09 github-actions[bot]

this is still a valid report, the issue hasn't been fixed

niphlod avatar Sep 22 '25 07:09 niphlod

... @niphlod ... I'm interested in this ... I'm certainly not trying to push (as I am not part of the LA GUI project, and do not work for MS) ... but ... if you have literally any more information (that you can supply, either obfuscated or recreated) I'd love to know about it.

Cannot have values changing without reason, y'know? ( that's my concern for my own integrations )

influential-eliot avatar Oct 17 '25 09:10 influential-eliot

If you build a simple workflow with an httprequest trigger, and you push in the example body

{
    "eventId": "92B82EA7-F64A-4A79-B8B9-019884278723",
    "data": {
        "ticks": 1754563833779314822
    }
}

and maybe initialize a variable of type object with "triggerBody()" you'll see the discrepancies between the body you injected in the request and the resulting variable.

Feel free to ask for more details, but it's a pretty straightforward case to reproduce.

niphlod avatar Oct 17 '25 10:10 niphlod

Cheers, mate ... will do ... out of interest ... have you seen this over multiple instances yourself?

influential-eliot avatar Oct 17 '25 10:10 influential-eliot

I only tested it on standard logic apps and it's always there. I guess it has to do with Json.NET handling of bigintegers but I can only assume, not verify ^_^

niphlod avatar Oct 17 '25 11:10 niphlod

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] avatar Dec 01 '25 12:12 github-actions[bot]

AFAIK this has not been fixed yet

niphlod avatar Dec 01 '25 12:12 niphlod