# Production deploy backend API not working

**URL:** <https://community.forestadmin.com/t/production-deploy-backend-api-not-working/1802>\
**Category:** Help me!\
**Created:** [February 8, 2021, 4:22pm UTC](https://community.forestadmin.com/t/production-deploy-backend-api-not-working/1802 "2021-02-08T16:22:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vigzmv](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/vigzmv/32/517_2.png) [@vigzmv](https://community.forestadmin.com/u/vigzmv)\
**Post date:** [February 8, 2021, 4:22pm UTC](https://community.forestadmin.com/t/production-deploy-backend-api-not-working/1802/1 "2021-02-08T16:22:57Z")

</div>

After a new deploy with no changes, both our Production and Staging backends API fetches from Forest Admin are timing out. Backend in deployed on Heroku and has been working good for a long time, the issue only started a few hours ago. The same code works on local development.

## Context

Please provide any relevant information about your setup.

- Package Version: 6.1.1
- Express Version: 4.16.3
- Sequelize Version: 5.15.1
- Database Dialect: postgres
- Database Version: 12.4
- Project Name: Novelship-Admin

---

<div class="post-metadata">

**Author:** ![anon94532230](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anon94532230](https://community.forestadmin.com/u/anon94532230)\
**Post date:** [February 8, 2021, 4:29pm UTC](https://community.forestadmin.com/t/production-deploy-backend-api-not-working/1802/2 "2021-02-08T16:29:31Z")

</div>

Hi @vigzmv !  
Do you have any logs on your frontend or backend ?  
There was no changes whatsoever on the deployment ? Can you compare the `.forestadmin-schema.json` between your environments ?  
I will checkout your project on my side !

---

<div class="post-metadata">

**Author:** ![vigzmv](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/vigzmv/32/517_2.png) [@vigzmv](https://community.forestadmin.com/u/vigzmv)\
**Post date:** [February 8, 2021, 4:52pm UTC](https://community.forestadmin.com/t/production-deploy-backend-api-not-working/1802/3 "2021-02-08T16:52:04Z")

</div>

Thanks for the help @anon94532230.

The issue is fixed, It was due to heroku using node 14.x  
There was no code or schema change at all, we just did a redeploy, on the new build heroku started using node 14.x as it seems that it is now the [active version for heroku](https://devcenter.heroku.com/articles/nodejs-support#supported-runtimes).

Setting node version in package.json fixed it.

```javascript
  "engines": {
    "node": "12.x"
  }

```

---

<div class="post-metadata">

**Author:** ![anon94532230](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@anon94532230](https://community.forestadmin.com/u/anon94532230)\
**Post date:** [February 8, 2021, 4:52pm UTC](https://community.forestadmin.com/t/production-deploy-backend-api-not-working/1802/4 "2021-02-08T16:52:44Z")

</div>

Glad you fixed your issue ! 👌
