TypeError when trying to load page


We’re having an issue where some pages are not loading correctly when we have an array of email addresses.



Thanks for your help!

Hello @Josh-avl,

Thank you for reporting this.

Could you please tell me on which page you are seeing this? A record detail view maybe? Or a custom summary view?

Could you tell me your project name, the collection having the issue, and maybe the full URL of the page so we can look into it?

Thank you

Hi @Guillaume_Deslandes ,

Thanks for responding!

Yes, this on the record detail view.

I will DM you the URL.


Hey @Josh-avl,

Could you please show me the request returning your record ? I’d like to see the record, specially the distribution part. I suspect that you toEmails is not an array :thinking:

Hi @vince ,

Thanks for your help, here’s the response (with the actual email addresses removed)

  "included": [
      "type": "Organisation",
      "id": "5e71f0e962f84900270874b2",
      "attributes": {
        "name": "Customer",
        "_id": "5e71f0e962f84900270874b2",
        "updatedAt": "2020-03-18T09:59:05.003Z",
        "createdAt": "2020-03-18T09:59:05.003Z"
  "data": {
    "type": "ScheduledReportJob",
    "id": "6166ebf0e942c800281470d9",
    "attributes": {
      "jobType": "dashboardReportToImage",
      "impersonationAuth0Id": "auth0|5eb2f0fc07d2e10c60190e30",
      "distribution": {
        "sendType": "email - specific users",
        "toEmails": [
      "scheduledSendingDisabled": false,
      "schedule": {
        "cadence": "weekly",
        "sendDay": 1,
        "sendHour": 14
      "dashboardReportToImage": {},
      "_id": "6166ebf0e942c800281470d9",
      "updatedAt": "2021-10-13T14:23:44.880Z",
      "createdAt": "2021-10-13T14:23:44.880Z"
    "relationships": {
      "organisation": {
        "data": {
          "type": "Organisation",
          "id": "5e71f0e962f84900270874b2"
        "links": {
          "related": {
            "href": "/forest/ScheduledReportJob/6166ebf0e942c800281470d9/relationships/organisation"

toEmails is an array of string, which matches the FA config file.

Hmm okey, I’m trying to check what could go wrong :thinking:. I’ll let you know as soon as I find something

Hey @Josh-avl,

I just want to let you know that I do reproduce your issue. I’ll create a ticket to fix it :wink:

Hey @Josh-avl,

it should be fixed :wink: