Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
masaki-norton opened this issue Nov 30, 2023 · 0 comments

Comments

@masaki-norton
Copy link

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"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant