hannahjk.
hannahjk.4d ago

Json Array in API Call from Flutterflow

Hello, I succesfully built an API Call in Buildship that has the input cart as a json array but I struggle to configure the API Call in Flutterflow. There I have the variable as a json list but it seems like it gets passed as a json encoded string and not an array. I already try to change this in builtship but then the information inside the object can't be recognized any more. Has anybody experienced something simular or has a solution how to configure this in a way the information will still be accepted?
2 Replies
AI Support
AI Support4d ago
AI Support Bot Information
<@764105471791333398> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human! Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers. Please note: Team members will review and answer the questions on best efforts basis.
AI Support
AI Support4d ago
AI Response
It seems that you're encountering an issue where JSON data is being passed as a JSON-encoded string rather than a JSON array from Flutterflow to your BuildShip API call. This issue is common when the data types between the two platforms do not align perfectly. Unfortunately, the search results did not contain specific guidance or solutions for configuring JSON lists in Flutterflow to be directly accepted as arrays in BuildShip. To address the problem, you might consider the following general solutions: 1. Check the Data Type Configuration: Ensure that the variable holding your JSON list in Flutterflow is configured correctly as an array and not a string. 2. Serialization/Deserialization: Consider manually serializing/deserializing the JSON data within Flutterflow to ensure that it gets passed as a true JSON array. 3. Adjust API Expectation: If the API setup in BuildShip is expecting an object instead of an array, you might need to reconfigure the input parameter type to ensure compatibility. If these steps don't resolve your issue, it might be beneficial to reach out directly to the BuildShip or Flutterflow support for tailored support. It's also a good idea to explore active community forums or groups where similar integrations are discussed, as you might find a user who has encountered and solved similar issues. You may also want to refer to BuildShip's documentation or send a support request for more personalized help through their support page【4:0†source】.
BuildShip AI Support

Did you find this page helpful?