# Forest 🌳🌳🌳 Cannot send the apimap to Forest. Forest might currently be in maintenance

**URL:** <https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770>\
**Category:** Help me!\
**Tags:** setup\
**Created:** [June 6, 2022, 2:58pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770 "2022-06-06T14:58:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![kakou](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@kakou](https://community.forestadmin.com/u/kakou)\
**Post date:** [June 6, 2022, 2:58pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/1 "2022-06-06T14:58:24Z")

</div>

## Feature(s) impacted

It seems that my .forestadmin-schema.json file is not sent to forest, so I cannot create new smart fields, smart actions, etc..

## Observed behavior

My database is well connected to forest and my old smart actions/smart fields are working fine.

## Expected behavior

When I create a new smart field, nothing appears on forest. No update.

## Failure Logs

Forest 🌳🌳🌳 Cannot send the apimap to Forest. Forest might currently be in maintenance

## Context

- Project name: Estaly\_Admin
- Team name: Kakou

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [June 6, 2022, 3:12pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/2 "2022-06-06T15:12:02Z")

</div>

Hello @kakou,

Thanks for your message 🙌

Forest Admin is not under maintenance!  
So let’s try to understand what’s going on here.

On what environment are your operating your changes?  
Did you restart your agent after having done these changes?  
Is your `forestadmin-schema` file up to date with those changes?  
Could you see any error / success message after having done your updates and restarted your server?

Thanks.

---

<div class="post-metadata">

**Author:** ![kakou](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@kakou](https://community.forestadmin.com/u/kakou)\
**Post date:** [June 6, 2022, 3:23pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/3 "2022-06-06T15:23:32Z")

</div>

Thank you for your quick response.

I’m working on the development environment. I restarted many times my backend server. Yes my foerstadmin-schema is up to date. The only error message I see is “Forest 🌳🌳🌳 Cannot send the apimap to Forest. Forest might currently be in maintenance”.

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [June 6, 2022, 3:39pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/4 "2022-06-06T15:39:41Z")

</div>

Thanks for your quick answer.

Ok that’s very strange, I’m currently checking if something is going really wrong on our side.  
Thanks for your patience 🙏

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [June 6, 2022, 3:45pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/5 "2022-06-06T15:45:31Z")

</div>

Could you tell me what is your `forest-cli` version (typing `forest -v`)?  
Could you update it to the latest one? The message might be a bit more accurate

---

<div class="post-metadata">

**Author:** ![kakou](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@kakou](https://community.forestadmin.com/u/kakou)\
**Post date:** [June 6, 2022, 3:45pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/6 "2022-06-06T15:45:58Z")

</div>

Thank you for your time.

I finally succeeded to send the “.forestadmin-schema.json” file using forest-cli: forest schema:apply.

However the changes are not done automatically when I restart the server. And the message

> Forest 🌳🌳🌳 Cannot send the apimap to Forest. Forest might currently be in maintenance

is still displayed.

---

<div class="post-metadata">

**Author:** ![kakou](https://avatars.discourse-cdn.com/v4/letter/k/8797f3/32.png) [@kakou](https://community.forestadmin.com/u/kakou)\
**Post date:** [June 6, 2022, 3:47pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/7 "2022-06-06T15:47:02Z")

</div>

Here is my version :

> forest-cli/2.7.0 darwin-x64 node-v18.0.0

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [June 6, 2022, 4:11pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/8 "2022-06-06T16:11:12Z")

</div>

Yeah sorry it has nothing to do with the CLI actually.  
It’s your agent directly, it is facing an unrecognised error when trying to send the apimap.

Can you try to update your `forest-rails` agent just to see if it changes anything?

And could you try to see if you receive a response to the HTTP call made in the `forest-rails` gem of your agent, in the `send_apimap` function of the `bootstrapper.rb` file?  
If you do, could you print the error?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [June 10, 2022, 8:13am UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/10 "2022-06-10T08:13:27Z")

</div>

@kakou any news on that?

---

<div class="post-metadata">

**Author:** ![fletoxIsHere](https://avatars.discourse-cdn.com/v4/letter/f/ad7895/32.png) [@fletoxIsHere](https://community.forestadmin.com/u/fletoxIsHere)\
**Post date:** [May 14, 2023, 3:30pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/11 "2023-05-14T15:30:28Z")

</div>

hello,  
i got this error " [forest] An error occured with the apimap sent to Forest. Please contact [support@forestadmin.com](mailto:support@forestadmin.com) for further investigations."  
i am using express.  
i cant send my new smartaction to forest and i dont wanna update the agent what should i do?

---

<div class="post-metadata">

**Author:** ![anon62739609](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@anon62739609](https://community.forestadmin.com/u/anon62739609)\
**Post date:** [May 15, 2023, 8:29am UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/12 "2023-05-15T08:29:06Z")

</div>

Hey @fletoxIsHere,  
we had [some issues](https://status.forestadmin.com/incident/207585) yesterday. Could you try again ?

---

<div class="post-metadata">

**Author:** ![fletoxIsHere](https://avatars.discourse-cdn.com/v4/letter/f/ad7895/32.png) [@fletoxIsHere](https://community.forestadmin.com/u/fletoxIsHere)\
**Post date:** [May 17, 2023, 9:38pm UTC](https://community.forestadmin.com/t/forest-cannot-send-the-apimap-to-forest-forest-might-currently-be-in-maintenance/4770/13 "2023-05-17T21:38:23Z")

</div>

hi @anon62739609 ,  
it work but still the hooks dont get the updates.  
thanks in advance.
