Skip to content

Error: Invalid position value: 'NaN'. Position must be 'first', 'last', or a number #1999

@sentry

Description

@sentry

Sentry Issue: TWENTY-SERVER-DHH

Error: Invalid position value: 'NaN'. Position must be 'first', 'last', or a number
  File "/app/node_modules/@graphql-tools/executor/cjs/execution/execute.js", line 620, in completeLeafValue
    throw new Error(err.message);
  File "/app/node_modules/@graphql-tools/executor/cjs/execution/execute.js", line 451, in completeValue
    return completeLeafValue(returnType, result);
  File "/app/node_modules/@graphql-tools/executor/cjs/execution/execute.js", line 434, in completeValue
    const completed = completeValue(exeContext, returnType.ofType, fieldNodes, info, path, result, asyncPayloadRecord);
  File "/app/node_modules/@graphql-tools/executor/cjs/execution/execute.js", line 330, in executeField
    completed = completeValue(exeContext, returnType, fieldNodes, info, path, result, asyncPayloadRecord);
  File "/app/node_modules/@graphql-tools/executor/cjs/execution/execute.js", line 272, in executeFields
    const result = executeField(exeContext, parentType, sourceValue, fieldNodes, fieldPath, asyncPayloadRecord);
...
(5 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🔖 Planned

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions