Category: Question and Answers
Updated

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

Sometimes values aren’t propagated correctly

Issue

I am developing an app on the latest version, but the Question #1 field sometimes shows as empty even though it is always returned by the API. I see some errors on the console but can't understand the problem. I shared my code with the team and they are investigating. One of them suggested using async and await in the JS object to fetch the data.

Resolution

The user was having an issue with the Question #1 field not consistently displaying data even though it was always returned by the API. After reviewing the code and API query process, the user was asked to share how they were binding the data and how they were running the query. Through this investigation, the team was able to identify the issue and suggested using async/await in the JS object to fetch the data. A code example was provided to implement this solution.