Devographics / Devographics/Monorepo

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

Open
#346 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
178
Forks
55
Avg merge
1m
Merged PRs (30d)
2

Description

### 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"
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.