List generated from REST API does not display in launched app


#1

I have a test app I created to test out loading content from a REST API. React Studio successfully queries the API and returns results to the datasheet, and displays the data in the React Studio builder in the list component. When I deploy the app to the browser the data in the list is not displayed. I included a list in the test screen from a datasheet that is generated from mock data and this list displays just fine. What do I need to do to troubleshoot this issue? Any insight is much appreciated.


#2

Just a guess but it may be that the service blocks localhost or our server when running the app in browser. Try checking the browser’s developer tools console if there are any messages related to this.


#3

Issue resolved. Problem was a CORS config on the Tomcat server that did not like the localhost:3000 server hitting it. Thanks for pointing me in the right direction to troubleshoot.