-
Notifications
You must be signed in to change notification settings - Fork 28
Description
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
When making an API call, a JSON Syntax error is returned when integers are not set. This is not an expected behavior as integers have default value of 0, but this does not happen in Flutterflow when using variables. Took me and a support member sometime to isolate this. integer variables SHOULD be set to 0. as formatting the JSON body does not return any errors, implying that values are correctly set.
I had to manually input the default value of 0 into each variable. It should be clear that this is not a default behaviour.
Expected Behavior
integer variables should have default value of 0, or the format button should pick up the error and let the user know.
Steps to Reproduce
- create a POST request that requires (optional) integer inputs.
- create variables that correspond to the inputs.
- place the variables in the corresponding keys in the JSON body and run the request.
Reprodcible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
IT4Ol/LfsM5IsfVA+KrqccAwpDkXQ0w2U5ZN18J+Vk00GOLNG7UIec/4VEptXbC+TVc3OmCZhT4JzNKOv+bIN+07AzWtQL5dzLhMegGVQmGhb4+aCaqoX0YnHtpKBWKl55m3vxFdANtaSk4M3F+uOPOiYCnXQb7sCzJABOWIE9vXnXfuQ0SLb3kNh1JWeC/v
Context
Delayed the completion of the project as the API call was critical.
Visual documentation
Not applicable
Additional Info
No response
Environment
- FlutterFlow version: 3.7.12
- Platform: Web
- Browser name and version: Edge Version 113.0.1774.35
- Operating system and version affected: Windows 10