Hello everyone I’m trying to deploy my first proje...
# prisma1-community
l
Hello everyone I’m trying to deploy my first project on heroku. Locally I’ve successfully connected my project to mongodb atlas and generated schemas on remote DB. then, I’ve deployed the app to heroku via Git. now, I’m not getting if my endpoint url must still remain localhost:4466 or I have to change to the remote heroku one. If I try the latter, I receive a 404 error warning me that it cannot POST on /management. when I run locally
Copy code
prisma deploy
I’m getting an exception:
Copy code
ERROR: GraphQL Error (Code: 404)

{
  "error": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<title>Error</title>\n</head>\n<body>\n<pre>Cannot POST /management</pre>\n</body>\n</html>\n",
  "status": 404
}
I’m not getting this because I set the secret key both on prisma.yml than on docker-compose.yml. Am I missing something? It seems an auth error but it could be related to mongo itself?