Node app deploy fails despite successful builds

Hello,

I have a Node app: GitHub - MrDzi/perfect-pitch (in the server directory).

Deploy logs indicate successful builds:

However, every deployment attempt ends up in a failed state. Since the logs are not helpful, I’m not sure how I can find the cause of the failure.

Any help is appreciated, thank you in advance.
Dejan

Hi,

The code seems to define a health check endpoint /api/health, have you set that in the service settings?

Alan

Ah :man_facepalming: This was exactly the issue.

Thank you, Alan! :pray:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.