Giter Site home page Giter Site logo

Comments (2)

MEPalma avatar MEPalma commented on June 27, 2024 1

Thank you for compiling this bug report! The issue appears to be related to some limitations to the JsonPath library that the StepFunctions interpreter relies on https://github.com/h2non/jsonpath-ng.
These are issues related to the same issue: #10603, #9937 (comment).
Nevertheless, we are looking into this limitation and I will be happy to update you as soon as a solution is implemented.

from localstack.

TheDanGior avatar TheDanGior commented on June 27, 2024

I am seeing a similar bug when my JSON path starts with a symbol. The @class JSON path is included automatically by our library when serializing to JSON from Java.

Input:

{
    "@class":"com.company.name.InputData",
    "id":"123abc",
    "sourceUserId":"101",
    "inputFileS3Keys": [ "00000000-1111-2222-3333-444444444" ]
}

Error:

Exception=JsonPathParserError, Details=['Parse error at 1:1 near token $ ($)'] at '(StatePass| {'comment': None, 'input_path': (InputPath| {'input_path_src': '$$.Execution.Id'}, 'output_path': (OutputPath| {'output_path': '$'}, 'state_entered_event_type': 'PassStateEntered', 'state_exited_event_type': 'PassStateExited', 'result': None, 'result_path': (ResultPath| {'result_path_src': '$.id'}, 'parameters': None, 'name': 'EmbedId', 'state_type': <StateType.Pass: 20>, 'continue_with': <localstack.services.stepfunctions.asl.component.state.state_continue_with.ContinueWithNext object at 0x7f0820510550>}'

from localstack.

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.