Skip to content

JSONPath not recognised. Get Red Screen Error: Expected a value of type 'Parser<dynamic>', but got one of type 'Null' #770

@uumdev

Description

@uumdev

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

I was working on one project without any problems. Then suddenly I get red screen error: Expected a value of type 'Parser', but got one of type 'Null'.

When I investigated, my Custom JSON Path is not recognised. What puzzled me is this two situations:

1- The API Call that I used was working ok before this. The error is just new.
2- I tried the same API in another project, and the API Call works.

Expected Behavior

I expect to get a value (array) for my JSON Path.

Steps to Reproduce

Page: p00Loading > Action On Page Load > Alert Message

This error cannot be reproduced with blank project since there is no error when I tried with new project.
You must check my project for the error.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4kzs/luYt1xLRF0JCAbcFsnj86OUw3TLJEpu0bWUkbGO/4PewcfffOQFZpXuKzaH1qIVCL+XM0pq2MvuHMFcICOTCrRqZHyZZ2eBPPbE2mac2DDpOeekdARORUIWbE4J+Onh1RBNFvLSEh7VyYH+itVT6Cf9qOYwx5e6fDbOY=

Context

I want to get value from API Call.

Visual documentation

Screenshot 2023-04-17 at 7 21 15 PM

Additional Info

No response

Environment

- FlutterFlow version: 3.1
- Platform:
- Browser name and version: Chrome Version 111.0.5563.146 (Official Build) (arm64)
- Operating system and version affected: macOS Ventura 13.0.1

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions