Error - 404 - Application not found

angekap
PROOP

a year ago

Hi,

I'm facing a weird issue where the service builds and deploys fine but I can't access/reach it when I make a call to the public network url.

This is an expressJS server, and only has 1 endpoint:

(POST) Public, no token needed

endpoint - "/login"

body - { email, password }

Call

{
url: "api-service.up.railway.app/login" || "https://api-service-dev.up.railway.app/login",
method: "POST",
body:{
    "email": "user1@test.com",
    "password": "Abcd123!"
}
}

Response:

{
    "status": "error",
    "code": 404,
    "message": "Application not found",
    "request_id": "YYYxxx_XXXyyyyXXXX_2207837401"
}

Both the build and deploy logs have no errors, the service was deployed successfully

Logs (via the CLI):

```
❯ railway logs

HOST ===> 0.0.0.0

=======================================

Server NODE ENV IS production

Server host is 0.0.0.0

Server started on 5689

Any ideas what I've missed?

0 Replies

Loading...