Hi, im using app builder, and when i try to make an API request it works well, but when i try to access to the data itself, it displays the data in the editor mode.
But im getting all this errors, even I’m accessing to the object in the correct way
Back to why we should care here with 8base. The error checker wants to make sure that when you deploy your app it won’t break. So it’s telling you now, during development, if there are potentially issues when data isn’t present (ie. the request wasn’t executed or doesn’t return the expected data). The best practice that we suggest here is to use optional chaining, so in your error at the top you would use getBranchOfficesList.data?.branchOfficesList?. and so on. It’s also good practice when you are doing things like referencing and array in a looper for the data property to finish off your handlebars with ||  so that at the very least an empty array is passed as data.
For executing a request on page load, if you go into the properties of the page (the gear icon next to the page in the pages dialog) there’s a beforeRouteEnter event that you can either select a request to execute or run Custom Code and specify state?.requestName?.run().