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: Enum "TokyodevYearsOfExperienceID" cannot represent non-enum value: 1. #487

Open
Simmerjit-Singh opened this issue Jan 17, 2025 · 0 comments

Comments

@Simmerjit-Singh
Copy link

Edition ID

td2023

Block ID

current_total_annual_compensation

Filters:

{
  "options": {
    "showDefaultSeries": false,
    "enableYearSelect": false,
    "mode": "grid",
    "queryOnLoad": false,
    "cutoff": 1,
    "cutoffType": "percent",
    "limit": 20,
    "mergeOtherBuckets": false,
    "preventQuery": false
  },
  "filters": [
    {
      "year": 2023,
      "conditions": [
        {
          "fieldId": "language_proficiency_japanese",
          "sectionId": "user_info",
          "operator": "eq",
          "value": "fluent"
        },
        {
          "fieldId": "years_of_experience",
          "sectionId": "user_info",
          "operator": "eq",
          "value": "1"
        }
      ]
    }
  ]
}

Query:


query {
  surveys {
  tokyodev {
      td2023 {
      compensation {
          
      current_total_annual_compensation_1: current_total_annual_compensation {
          id
          
          
          responses(filters: {user_info__language_proficiency_japanese:{eq:fluent},user_info__years_of_experience:{eq:1}}, parameters: {showNoAnswer:true,mergeOtherBuckets:false,cutoffPercent:1,facetCutoffPercent:1,limit:20}) {
          currentEdition {
              
              completion {
                  count
                  percentageSurvey
                  total
              }
              average
              percentiles {
                  p50
              }
              
              buckets {
                  count
                  id
                  percentageQuestion
                  percentageSurvey
                  hasInsufficientData
                  entity {
  name
  nameHtml
  nameClean
  alias
  description
  descriptionHtml
  descriptionClean
  id
  entityType
  example {
    label
    language
    code
    codeHighlighted
  }
  avatar {
    url
  }
  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
  }
}
                  
                  
                  
                  
              }
          }
          }
      }
      }
      }
  }
  }
}

Location

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

Timestamp

Fri Jan 17 2025 15:37:28 GMT+0530 (India Standard Time)

Error:

{
"message": "Enum \"TokyodevYearsOfExperienceID\" cannot represent non-enum value: 1.",
"locations": [
  {
    "line": 12,
    "column": 121
  }
],
"extensions": {
  "code": "GRAPHQL_VALIDATION_FAILED"
}
}
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