Unable to use API

**Question:I don’t know why I tried following the videos on Youtube. Even if I ask the AI, there are still errors. The api is defined in server.js, and the place where the api is used is in App.vue. I would like to ask why the following error code appears?

This file uses the API at Discord Developer Portal
**

Repl link:https://replit.com/@Residual2023528/DashBoard?s=app

Error:

Error: B {message: "Request failed with status code 502", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, …}https://41c0424c-b240-4b45-959a-250710440499-00-2mdmejyphavjh.picard.replit.dev/__replco/static/devtools/devtools.js:74