# \[Urgent\] Cannot connect to production

**URL:** https://community.forestadmin.com/t/urgent-cannot-connect-to-production/8405
**Category:** Help me!
**Created:** [March 12, 2026, 2:50pm UTC](https://community.forestadmin.com/t/urgent-cannot-connect-to-production/8405 "2026-03-12T14:50:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![CMonjo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/cmonjo/32/7581_2.png) [@CMonjo](https://community.forestadmin.com/u/CMonjo)
#### Post date: [March 12, 2026, 2:50pm UTC](https://community.forestadmin.com/t/urgent-cannot-connect-to-production/8405/1 "2026-03-12T14:50:34Z")

</div>

## Feature(s) impacted

While removing unused environment variables, we noticed a variable named FOREST\_CLIENT\_ID that wasn’t being used. We deleted it, and since then nothing works. We restored the variable, and nothing works either.

We can’t connect to the production environment, which is highly impactful for our business. I can connect to my local environment just fine, with FOREST\_ENV\_SECRET and FOREST\_AUTH\_SECRET set to different values. But if I use the same variables as production locally, it still doesn’t work

## Failure Logs

From this link: [https://app.forestadmin.com/AutoHub/AutoHub/AutoHub/data/708360/index](https://app.forestadmin.com/AutoHub/AutoHub/AutoHub/data/708360/index)?

I can see that Forest is making calls to our API `https://{{api.url}}/forest/authentication`

With the response preview:

```javascript
authorizationUrl: "https://api.forestadmin.com/oidc/auth?client_id=TOKEN&scope=openid%20email%20profile&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3310%2Fforest%2Fauthentication%2Fcallback&state=%7B%22renderingId%22%3A102646%7D"

```

## Context

- Project name: AutoHub
- Environment name: AutoHub (we don’t use _Production_)
- Database type: mongodb
- forest-express-mongoose: ^9.3.17

ForestAdmin team, it’s an urgente issue, i’m French, but our business operates in the United States. Would it be possible to get the contact for someone who can help analyze our issue? Thank you very much!!

---

<div class="post-metadata">

### Author: ![CMonjo](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/cmonjo/32/7581_2.png) [@CMonjo](https://community.forestadmin.com/u/CMonjo)
#### Post date: [March 12, 2026, 3:29pm UTC](https://community.forestadmin.com/t/urgent-cannot-connect-to-production/8405/2 "2026-03-12T15:29:38Z")

</div>

Issue resolved! \>e had removed the APPLICATION\_URL and DB\_URI variables, which appeared to be required for Forest to function. Posting this here in case it helps others in the future! 🙂
