Created
January 20, 2022 18:09
-
-
Save natac13/ba6a50025436e3aa635d34219edc860b to your computer and use it in GitHub Desktop.
Output of Gatsby build error when going to a form page. Restarting gatsby dev and reloading the page fixes this. Note this does not always happen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
success run page queries - 0.006s - 1/1 177.34/s | |
success Writing page-data.json files to public directory - 0.008s - 1/108 13281.36/s | |
success onPreExtractQueries - 0.002s | |
success extract queries from components - 0.290s | |
success write out requires - 1.268s | |
ERROR #85901 GRAPHQL | |
There was an error in your GraphQL query: | |
Internal server error | |
fragment FormFrag on Wp_GravityFormsForm { | |
formId | |
title | |
slug | |
description | |
hideJumpToSection | |
restrictEntriesToUserCreated | |
restrictFormSubmissionByRole | |
reloadOnSubmit | |
button { | |
text | |
type | |
conditionalLogic { | |
actionType | |
logicType | |
rules { | |
fieldId | |
operator | |
value | |
} | |
} | |
} | |
confirmations { | |
conditionalLogic { | |
actionType | |
logicType | |
rules { | |
fieldId | |
operator | |
value | |
} | |
} | |
id | |
message | |
isDefault | |
name | |
pageId | |
queryString | |
type | |
url | |
} | |
pagination { | |
type | |
pages | |
} | |
lastPageButton { | |
type | |
text | |
} | |
cssClass | |
save { | |
enabled | |
buttonText | |
} | |
translations { | |
slug | |
name | |
active | |
title | |
description | |
submitButtonText | |
cardDisplay { | |
detail1 | |
detail2 | |
detail3 | |
} | |
} | |
} | |
fragment FormFieldFrag on Wp_FormField { | |
__typename | |
id | |
type | |
cssClass | |
formId | |
pageNumber | |
conditionalLogic { | |
actionType | |
logicType | |
rules { | |
fieldId | |
operator | |
value | |
} | |
} | |
} | |
fragment AddressFieldFrag on Wp_AddressField { | |
label | |
description | |
visibility | |
isRequired | |
inputs { | |
key | |
label | |
placeholder | |
defaultValue | |
customLabel | |
} | |
addressTranslations { | |
name | |
slug | |
label | |
description | |
address | |
address2 | |
city | |
state | |
country | |
zip | |
} | |
} | |
fragment CheckboxFieldFrag on Wp_CheckboxField { | |
label | |
isRequired | |
visibility | |
description | |
enableSelectAll | |
choices { | |
text | |
value | |
} | |
inputs { | |
id | |
} | |
choiceTranslations { | |
slug | |
name | |
label | |
description | |
choices | |
} | |
} | |
fragment ComboSignatureFieldFrag on Wp_ComboSignatureField { | |
label | |
isRequired | |
description | |
visibility | |
backgroundColor | |
borderColor | |
borderStyle | |
borderWidth | |
boxWidth | |
choices { | |
text | |
value | |
isSelected | |
} | |
enableChoiceValue | |
penSize | |
penColor | |
minSignatures | |
maxSignatures | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment DateFieldFrag on Wp_DateField { | |
label | |
isRequired | |
visibility | |
description | |
placeholder | |
defaultValue | |
calendarIconType | |
allowsPrepopulate | |
inputName | |
dateFormat | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment EmailFieldFrag on Wp_EmailField { | |
label | |
isRequired | |
visibility | |
description | |
placeholder | |
defaultValue | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment FileUploadFieldFrag on Wp_FileUploadField { | |
label | |
isRequired | |
visibility | |
maxFileSize | |
maxFiles | |
multipleFiles | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment FollowUpFieldFrag on Wp_FollowUpField { | |
label | |
content | |
followUpForm { | |
slug | |
title | |
} | |
correctiveActionSettings { | |
...CorrectiveActionSettingsFrag | |
} | |
basicTranslations { | |
slug | |
name | |
label | |
} | |
} | |
fragment CorrectiveActionSettingsFrag on Wp_CorrectiveActionSettings { | |
actionTaken | |
deficiency | |
deficiencyType | |
severity | |
} | |
fragment HiddenFieldFrag on Wp_HiddenField { | |
defaultValue | |
label | |
basicTranslations { | |
slug | |
name | |
label | |
} | |
} | |
fragment HtmlFieldFrag on Wp_HtmlField { | |
content | |
label | |
basicTranslations { | |
slug | |
name | |
label | |
} | |
} | |
fragment ListFieldFrag on Wp_ListField { | |
choices { | |
text | |
value | |
} | |
description | |
enableColumns | |
isRequired | |
inputName | |
label | |
maxRows | |
choiceTranslations { | |
slug | |
name | |
label | |
description | |
choices | |
} | |
} | |
fragment MultiSelectFieldFrag on Wp_MultiSelectField { | |
label | |
description | |
visibility | |
isRequired | |
allowCustomOption | |
choices { | |
text | |
value | |
isSelected | |
} | |
choiceTranslations { | |
slug | |
name | |
label | |
description | |
choices | |
} | |
} | |
fragment NameFieldFrag on Wp_NameField { | |
label | |
isRequired | |
visibility | |
description | |
inputs { | |
key | |
label | |
placeholder | |
isHidden | |
defaultValue | |
customLabel | |
choices { | |
text | |
value | |
} | |
} | |
nameTranslations { | |
slug | |
name | |
label | |
description | |
first | |
last | |
middle | |
prefix | |
suffix | |
} | |
} | |
fragment NumberFieldFrag on Wp_NumberField { | |
label | |
isRequired | |
visibility | |
description | |
rangeMin | |
rangeMax | |
numberFormat | |
placeholder | |
defaultValue | |
calculationFormula | |
calculationRounding | |
enableCalculation | |
errorMessage | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment PageFieldFrag on Wp_PageField { | |
displayOnly | |
pageNumber | |
previousButton { | |
text | |
type | |
imageUrl | |
conditionalLogic { | |
actionType | |
logicType | |
rules { | |
fieldId | |
operator | |
value | |
} | |
} | |
} | |
nextButton { | |
text | |
type | |
imageUrl | |
conditionalLogic { | |
actionType | |
logicType | |
rules { | |
fieldId | |
operator | |
value | |
} | |
} | |
} | |
basicTranslations { | |
slug | |
name | |
label | |
} | |
} | |
fragment PhoneFieldFrag on Wp_PhoneField { | |
label | |
isRequired | |
visibility | |
description | |
placeholder | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment PhotoFieldFrag on Wp_PhotoField { | |
label | |
isRequired | |
visibility | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment RadioFieldFrag on Wp_RadioField { | |
label | |
isRequired | |
visibility | |
description | |
choices { | |
text | |
value | |
} | |
choiceTranslations { | |
slug | |
name | |
label | |
description | |
choices | |
} | |
} | |
fragment SectionFieldFrag on Wp_SectionField { | |
label | |
visibility | |
displayOnly | |
description | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment SelectFieldFrag on Wp_SelectField { | |
label | |
isRequired | |
visibility | |
description | |
defaultValue | |
allowCustomOption | |
choices { | |
text | |
value | |
} | |
choiceTranslations { | |
slug | |
name | |
label | |
description | |
choices | |
} | |
} | |
fragment SignatureFieldFrag on Wp_SignatureField { | |
label | |
isRequired | |
description | |
visibility | |
penColor | |
penSize | |
backgroundColor | |
borderWidth | |
borderStyle | |
borderColor | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment TextAreaFieldFrag on Wp_TextAreaField { | |
label | |
isRequired | |
visibility | |
description | |
maxLength | |
placeholder | |
defaultValue | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment TextFieldFrag on Wp_TextField { | |
label | |
isRequired | |
visibility | |
description | |
maxLength | |
placeholder | |
defaultValue | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment TimeFieldFrag on Wp_TimeField { | |
label | |
isRequired | |
visibility | |
description | |
timeFormat | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
fragment WebsiteFieldFrag on Wp_WebsiteField { | |
label | |
isRequired | |
visibility | |
description | |
placeholder | |
defaultValue | |
basicTranslations { | |
slug | |
name | |
label | |
description | |
} | |
} | |
query EntryFormGetForm($formId: ID!) { | |
wpGraphql { | |
gravityFormsForm(id: $formId, idType: DATABASE_ID) { | |
...FormFrag | |
formFields(first: 600) { | |
nodes { | |
...FormFieldFrag | |
... on Wp_AddressField { | |
...AddressFieldFrag | |
} | |
... on Wp_CheckboxField { | |
...CheckboxFieldFrag | |
} | |
... on Wp_ComboSignatureField { | |
...ComboSignatureFieldFrag | |
} | |
... on Wp_DateField { | |
...DateFieldFrag | |
} | |
... on Wp_EmailField { | |
...EmailFieldFrag | |
} | |
... on Wp_FileUploadField { | |
...FileUploadFieldFrag | |
} | |
... on Wp_FollowUpField { | |
...FollowUpFieldFrag | |
} | |
... on Wp_HiddenField { | |
...HiddenFieldFrag | |
} | |
... on Wp_HtmlField { | |
...HtmlFieldFrag | |
} | |
... on Wp_ListField { | |
...ListFieldFrag | |
} | |
... on Wp_MultiSelectField { | |
...MultiSelectFieldFrag | |
} | |
... on Wp_NameField { | |
...NameFieldFrag | |
} | |
... on Wp_NumberField { | |
...NumberFieldFrag | |
} | |
... on Wp_PageField { | |
...PageFieldFrag | |
} | |
... on Wp_PhoneField { | |
...PhoneFieldFrag | |
} | |
... on Wp_PhotoField { | |
...PhotoFieldFrag | |
} | |
... on Wp_RadioField { | |
...RadioFieldFrag | |
} | |
... on Wp_SectionField { | |
...SectionFieldFrag | |
} | |
... on Wp_SelectField { | |
...SelectFieldFrag | |
} | |
... on Wp_SignatureField { | |
...SignatureFieldFrag | |
} | |
... on Wp_TextAreaField { | |
...TextAreaFieldFrag | |
} | |
... on Wp_TextField { | |
...TextFieldFrag | |
} | |
... on Wp_TimeField { | |
...TimeFieldFrag | |
} | |
... on Wp_WebsiteField { | |
...WebsiteFieldFrag | |
} | |
} | |
} | |
} | |
} | |
} | |
File path: /Users/natac/harness-software/projects/harness-frontend/src/templates/EntryForm.tsx | |
Url path: /forms/equipment-inspection/new-entry | |
Plugin: none | |
GraphQLError: Internal server error | |
- errors.js:3 Object.relocatedError | |
/Users/natac/harness-software/projects/harness-frontend/dist/utils/src/errors.js:3:12 | |
- CheckResultAndHandleErrors.js:22 mergeDataAndErrors | |
/Users/natac/harness-software/projects/harness-frontend/dist/delegate/src/transforms/CheckRe | |
sultAndHandleErrors.js:22:28 | |
- CheckResultAndHandleErrors.js:11 checkResultAndHandleErrors | |
/Users/natac/harness-software/projects/harness-frontend/dist/delegate/src/transforms/CheckRe | |
sultAndHandleErrors.js:11:38 | |
- CheckResultAndHandleErrors.js:7 CheckResultAndHandleErrors.transformResult | |
/Users/natac/harness-software/projects/harness-frontend/dist/delegate/src/transforms/CheckRe | |
sultAndHandleErrors.js:7:16 | |
- Transformer.js:19 | |
/Users/natac/harness-software/projects/harness-frontend/dist/delegate/src/Transformer.js:19: | |
40 | |
- Array.reduceRight | |
- Transformer.js:18 Transformer.transformResult | |
/Users/natac/harness-software/projects/harness-frontend/dist/delegate/src/Transformer.js:18: | |
37 | |
- delegateToSchema.js:90 | |
/Users/natac/harness-software/projects/harness-frontend/dist/delegate/src/delegateToSchema.j | |
s:90:48 | |
- runMicrotasks | |
- task_queues:96 processTicksAndRejections | |
node:internal/process/task_queues:96:5 | |
- async Promise.all | |
- async Promise.all | |
- graphql-runner.ts:214 GraphQLRunner.query | |
[harness-frontend]/[gatsby]/src/query/graphql-runner.ts:214:14 | |
- query-runner.ts:135 queryRunner | |
[harness-frontend]/[gatsby]/src/query/query-runner.ts:135:14 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment