generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
bugSomething isn't workingSomething isn't working
Description
After creating the app, it won't connect to the DB.
Provided log:
Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
rest-service.js:10
GET http://localhost:5173/api/tasks/ net::ERR_ABORTED 500 (Internal Server Error)
getTasks @ rest-service.js:10
fetchTodos @ TodoList.jsx:34
(anonymous) @ TodoList.jsx:28
commitHookEffectListMount @ react-dom_client.js?v=3098a4ee:16913
commitPassiveMountOnFiber @ react-dom_client.js?v=3098a4ee:18154
commitPassiveMountEffects_complete @ react-dom_client.js?v=3098a4ee:18127
commitPassiveMountEffects_begin @ react-dom_client.js?v=3098a4ee:18117
commitPassiveMountEffects @ react-dom_client.js?v=3098a4ee:18107
flushPassiveEffectsImpl @ react-dom_client.js?v=3098a4ee:19488
flushPassiveEffects @ react-dom_client.js?v=3098a4ee:19445
(anonymous) @ react-dom_client.js?v=3098a4ee:19326
workLoop @ react-dom_client.js?v=3098a4ee:195
flushWork @ react-dom_client.js?v=3098a4ee:174
performWorkUntilDeadline @ react-dom_client.js?v=3098a4ee:382
Show 11 more frames
Show lessUnderstand this error
TodoList.jsx:39 Error fetching tasks: Error: Failed to get tasks
at getTasks (rest-service.js:15:15)
at async fetchTodos (TodoList.jsx:34:30)
rest-service.js:10
GET http://localhost:5173/api/tasks/ net::ERR_ABORTED 500 (Internal Server Error)
getTasks @ rest-service.js:10
fetchTodos @ TodoList.jsx:34
(anonymous) @ TodoList.jsx:28
commitHookEffectListMount @ react-dom_client.js?v=3098a4ee:16913
invokePassiveEffectMountInDEV @ react-dom_client.js?v=3098a4ee:18322
invokeEffectsInDev @ react-dom_client.js?v=3098a4ee:19699
commitDoubleInvokeEffectsInDEV @ react-dom_client.js?v=3098a4ee:19684
flushPassiveEffectsImpl @ react-dom_client.js?v=3098a4ee:19501
flushPassiveEffects @ react-dom_client.js?v=3098a4ee:19445
(anonymous) @ react-dom_client.js?v=3098a4ee:19326
workLoop @ react-dom_client.js?v=3098a4ee:195
flushWork @ react-dom_client.js?v=3098a4ee:174
performWorkUntilDeadline @ react-dom_client.js?v=3098a4ee:382
Show 10 more frames
Show lessUnderstand this error
TodoList.jsx:39 Error fetching tasks: Error: Failed to get tasks
at getTasks (rest-service.js:15:15)
at async fetchTodos (TodoList.jsx:34:30)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working