# This chart cannot be rendered

**URL:** <https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549>\
**Category:** Help me!\
**Tags:** chart\
**Created:** [November 20, 2022, 12:26pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549 "2022-11-20T12:26:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThibaultWalterspiele](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/thibaultwalterspiele/32/5131_2.png) [@ThibaultWalterspiele](https://community.forestadmin.com/u/ThibaultWalterspiele)\
**Post date:** [November 20, 2022, 12:26pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/1 "2022-11-20T12:26:56Z")

</div>

## Feature(s) impacted

Dashboard and charts

## Observed behavior

Since I updated **@forestadmin/agent** to `1.4.1` and **@forestadmin/datasource-sql** to `1.1.4`, on my dashboard, I get the error : _This chart cannot be rendered._ on every charts.

## Expected behavior

Click on dashboard and see the graphics render correctly

## Failure Logs

> Chrome dev tool
> 
> ![CleanShot 2022-11-20 at 13.08.40@2x](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/e/e1da304b60681e5562652c3bc725e406aecf94af.jpeg)

> Nest.js logs
> 
> ![CleanShot 2022-11-20 at 13.08.52@2x](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/b/b74641647f0c79af6c10da46feda766aeb4b88f9.png)

## Context

- Project name: meka-api
- Team name: Op team
- Environment name: Production & Development
- Agent type & version: node-agent : “@forestadmin/agent”: “^1.4.1” running on NestJS 9.1.6
- Update **@forestadmin/agent** to `1.4.1` and **@forestadmin/datasource-sql** to `1.1.4`

---

<div class="post-metadata">

**Author:** ![ThibaultWalterspiele](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/thibaultwalterspiele/32/5131_2.png) [@ThibaultWalterspiele](https://community.forestadmin.com/u/ThibaultWalterspiele)\
**Post date:** [November 20, 2022, 3:22pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/2 "2022-11-20T15:22:15Z")

</div>

Finally always the same error on the previous versions.

```javascript
@forestadmin/agent: "^1.2.0",
@forestadmin/datasource-sql: "^1.1.1",

```

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [November 21, 2022, 11:47am UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/4 "2022-11-21T11:47:45Z")

</div>

Hey @ThibaultWalterspiele 👋

I’m currently unable to reproduce this issue on my end.  
Do you have any specific configuration regarding your agent (`renameField`, etc.)

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ThibaultWalterspiele](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/thibaultwalterspiele/32/5131_2.png) [@ThibaultWalterspiele](https://community.forestadmin.com/u/ThibaultWalterspiele)\
**Post date:** [November 21, 2022, 12:01pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/5 "2022-11-21T12:01:36Z")

</div>

Yes I’ve this kind of specific configuration in order to add file upload field

 ![CleanShot 2022-11-21 at 13.00.14@2x](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/a/a4075a3574951de1b54a2c83e574b9ffcdd6f7b1.png)

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [November 21, 2022, 1:06pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/6 "2022-11-21T13:06:32Z")

</div>

Ok, but nothing related to the `ExpeditionReport` collection?

---

<div class="post-metadata">

**Author:** ![ThibaultWalterspiele](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/thibaultwalterspiele/32/5131_2.png) [@ThibaultWalterspiele](https://community.forestadmin.com/u/ThibaultWalterspiele)\
**Post date:** [November 21, 2022, 1:21pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/7 "2022-11-21T13:21:19Z")

</div>

No but when I comment this code above, the error stops

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [November 21, 2022, 1:41pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/8 "2022-11-21T13:41:35Z")

</div>

All the errors are triggering the exact same error message on the agent side?

I just checked your project configuration on my end and I can’t spot anything obvious at first sight (I can’t spot any chart configured that uses your `video` field, so I can’t really think of a reason that would happen).

Do you know if it’s the `addField` or the `replaceFieldWriting` that is causing this issue?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Nils\_Guicherd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nils_guicherd/32/5327_2.png) [@Nils\_Guicherd](https://community.forestadmin.com/u/Nils_Guicherd)\
**Post date:** [December 20, 2022, 4:14pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/9 "2022-12-20T16:14:54Z")

</div>

Hi Jeff,

Seems like i’m exeriencing the same issue for the “this chart cannot be rendered”. Project is ExplorJob.  
I’m logged in as admin, so i should be able to see them all. This bug started either :

- when we moved to the paid version
- when we upgraded `forest-express-sequelize` agent to version `9.0.0`

The only charts that are still working are the one from Queries, but all the Simple ones are unvailable :

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/3f70ef4648fa2dc94928a4683109611e9571e529.png)

Any idea how i can have them appear again ?  
I’m not a tech guy, so if you can help me with noob language, would be helpful 😃

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [December 20, 2022, 4:17pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/10 "2022-12-20T16:17:42Z")

</div>

Hey @Nils_Guicherd 👋

Could you please share both the request payload and response from any given chart that doesn’t work?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Nils\_Guicherd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nils_guicherd/32/5327_2.png) [@Nils\_Guicherd](https://community.forestadmin.com/u/Nils_Guicherd)\
**Post date:** [December 20, 2022, 4:30pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/11 "2022-12-20T16:30:59Z")

</div>

sure, for instance, this is the most basic chart : user count

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/c/c9b1697f97d82c16d2fd3a3ee3ccfe8a7eab557a.png)

---

<div class="post-metadata">

**Author:** ![Nils\_Guicherd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nils_guicherd/32/5327_2.png) [@Nils\_Guicherd](https://community.forestadmin.com/u/Nils_Guicherd)\
**Post date:** [December 22, 2022, 2:53pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/12 "2022-12-22T14:53:35Z")

</div>

is this what you meant by “request payload and response” ? 🤔

---

<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:** [December 23, 2022, 1:40pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/15 "2022-12-23T13:40:40Z")

</div>

Hello @Nils_Guicherd,

To share the “request payload and response”, here is what you need to do:

- right click on your browser and “inspect”
- it opens the inspector, then navigate within to the “Network” tab
- you should be able to see the failing requests (displayed in red?)
- if you click on one of them, you will see then sub-tabs: here we want to see what’s displayed inside “payload” and “preview”

Can you share those with us please?

Other questions:

- Is the issue happening on all of your teams?
- How easy it is for your team to upgrade to `forest-express-sequelize` v 9.1.0?
- And to downgrade to 8.5.14 just to see if it working?

Thanks.

---

<div class="post-metadata">

**Author:** ![Nils\_Guicherd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nils_guicherd/32/5327_2.png) [@Nils\_Guicherd](https://community.forestadmin.com/u/Nils_Guicherd)\
**Post date:** [December 27, 2022, 3:03pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/16 "2022-12-27T15:03:46Z")

</div>

Hi,  
Here are the results :

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/f/f45a56f1a3d76afc6a3176eb3fd0d7919be9454b.png)

For the very first graph : nb of users :

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/7/7eb7a33b36b51c7e1dac667bc6e2da7d01409daa.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/a/ac2a9d9f78234bad447131d63c8fc95d8fea51b6.png)

---

<div class="post-metadata">

**Author:** ![Nils\_Guicherd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nils_guicherd/32/5327_2.png) [@Nils\_Guicherd](https://community.forestadmin.com/u/Nils_Guicherd)\
**Post date:** [December 27, 2022, 3:08pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/17 "2022-12-27T15:08:30Z")

</div>

> [@anon34731316](#):
>
> forest-express-sequelize

I can ask our external developper to change forest-express-sequelize settings (as it seems to be at the origin of the trouble) but at the same time, it was also this which enabled to have different roles, and we need them as well :-/  
Plus she won’t be much available before mid january 'im afraid.

---

<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:** [January 3, 2023, 2:06pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/18 "2023-01-03T14:06:12Z")

</div>

Hello @Nils_Guicherd,

Sorry for the delay! 🎄

I understand for the version rollback difficulties on forest-express-sequelize.  
However, it would be great to upgrade your version to the latest (9.2.0 as of today), the issue might be fixed since then.  
Let me know if this is something doable at some point.

For the logs you sent, unfortunately there are the ones I needed:

> - Open the inspector, then navigate within to the “ **Network** ” tab
> - you should be able to see the failing requests (displayed in red?)
> - if you click on one of them, you will see then sub-tabs: here we want to see what’s displayed inside “ **payload** ” and “ **preview** ”

If you could send me those it will be easier to investigate!

Thanks.

---

<div class="post-metadata">

**Author:** ![Nils\_Guicherd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nils_guicherd/32/5327_2.png) [@Nils\_Guicherd](https://community.forestadmin.com/u/Nils_Guicherd)\
**Post date:** [January 3, 2023, 2:32pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/19 "2023-01-03T14:32:44Z")

</div>

my bad sorry. I’ll ask our partner to move to this new express sequelize then.

here are the views though 🙂

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/3a3a2a260bb0073658d60aefa9f09bd4b79cc1f1.png)

and some paylods :

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/f/f22f4e1395b7415d46c4f76244108adda434f043.png)

or

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/7/70fd5451e08dd2eca75d5562c3290249bf552cbd.png)

all previews answer are the same :

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/7/7538c2db910dcc1590e296794c3e31b78af80f18.png)

---

<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:** [January 3, 2023, 3:01pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/20 "2023-01-03T15:01:08Z")

</div>

@Nils_Guicherd,

Thanks for your prompt reply.

Wait… I’m thinking about something trivial but needed to be double checked.  
Does your role allow you to access to the collections used in the charts (users, messages, userReported, etc)?  
You need to check which role is assigned to yourself and then check the permissions settings of that role (in the project settings).

Let me know!  
Thanks.

---

<div class="post-metadata">

**Author:** ![Nils\_Guicherd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nils_guicherd/32/5327_2.png) [@Nils\_Guicherd](https://community.forestadmin.com/u/Nils_Guicherd)\
**Post date:** [January 3, 2023, 3:18pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/21 "2023-01-03T15:18:24Z")

</div>

sure, i’m admin

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/8/88148affd48dd47354002639e24e2c57b9199a63.png)

and here should be my permissions

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/34bb6ca7881a7ed0d07441975e642413ccd01cf5.png)

it’s even more weird that i can actually see the charts made from “queries” but not “simple” ones.

---

<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:** [January 11, 2023, 10:19am UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/22 "2023-01-11T10:19:43Z")

</div>

Hello @Nils_Guicherd,

I went again over your use case and I could not figure out what’s going on exactly in your case 🙁

Did you get the chance to make your external developper upgrade `forest-express-sequelize` package to the latest version?  
If after doing it it’s still not working, we might need to jump on a debug session (with the external developper if possible).

Let me know and sorry again for the inconvenience.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Nils\_Guicherd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/nils_guicherd/32/5327_2.png) [@Nils\_Guicherd](https://community.forestadmin.com/u/Nils_Guicherd)\
**Post date:** [January 19, 2023, 1:57pm UTC](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549/23 "2023-01-19T13:57:04Z")

</div>

thanks we’re good. the issue was only in production and not in local. The issue was because of our NodeJS which was not supported anymore, needed an update.  
thanks for your support

[Next page](https://community.forestadmin.com/t/this-chart-cannot-be-rendered/5549.md?page=2)
