Devographics / Monorepo

Monorepo containing the State of JS apps
surveyform-sigma.vercel.app
Other
121 stars 49 forks source link

[results/td2023/current_total_annual_compensation] runQuery Issue: Cannot read properties of undefined (reading 'find') #346

Open masaki-norton opened 7 months ago

masaki-norton commented 7 months ago

Edition ID

td2023

Block ID

current_total_annual_compensation

Filters:

{
  "options": {
    "showDefaultSeries": true,
    "enableYearSelect": false,
    "mode": "facet",
    "queryOnLoad": false,
    "supportedModes": [
      "grid",
      "facet"
    ],
    "preventQuery": false
  },
  "filters": [],
  "facet": {
    "sectionId": "user_info",
    "id": "age"
  }
}

Query:

  query td2023currentTotalAnnualCompensationQuery {

    surveys {
      tokyodev {
        td2023 {
          compensation {
            current_total_annual_compensation_by_age: current_total_annual_compensation {

              responses(facet: user_info__age, parameters: {showNoAnswer:true}) {
                currentEdition {

                  completion {
                    count
                    percentageSurvey
                    total
                  }
                  buckets {
                    count
                    id
                    percentageQuestion
                    percentageSurvey
                    hasInsufficientData
                    entity {
        name
        nameHtml
        nameClean
        id
        example {
          label
          language
          code
          codeHighlighted
        }
        homepage {
          url
        }
        youtube {
          url
        }
        twitter {
          url
        }
        twitch {
          url
        }
        rss {
          url
        }
        blog {
            url
        }
        mastodon {
            url
        }
        github {
            url
        }
        npm {
            url
        }
        mdn {
            url
        }
        caniuse {
            url
        }
        resources {
            url
            title
        }
    }
                    averageByFacet

        percentilesByFacet {
            p0
            p10
            p25
            p50
            p75
            p90
            p100
        }

    facetBuckets {
        id
        count
        percentageQuestion
        percentageSurvey
        percentageBucket
        hasInsufficientData

    }

                  }
                }
              }
            }
          }
        }
      }
    }

}

Location

https://2023.surveys.tokyodev.com/en-US/compensation/#current_total_annual_compensation

Timestamp

Thu Nov 30 2023 11:53:17 GMT+0900 (Japan Standard Time)

Error:

  {
  "message": "Cannot read properties of undefined (reading 'find')",
  "locations": [
    {
      "line": 11,
      "column": 17
    }
  ],
  "path": [
    "surveys",
    "tokyodev",
    "td2023",
    "compensation",
    "current_total_annual_compensation_by_age",
    "responses",
    "currentEdition"
  ],
  "extensions": {
    "code": "INTERNAL_SERVER_ERROR"
  }
}