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

Internal server error whenever calling vtex.b2b-organizations components #9

Open
brunosilvacorebiz opened this issue Jan 30, 2023 · 0 comments

Comments

@brunosilvacorebiz
Copy link

brunosilvacorebiz commented Jan 30, 2023

Greetings,

Recently, just after creating a new workspace based on b2b-newstore-theme, which works properly on Master, we noticed that's showing an internal error server, more precisely regarding vtex.b2b-organizations and its component b2b-user-widget
image

Something went wrong
There was a technical problem loading this page.
Try refreshing the page or come back in 5 minutes.
ID: b6be4ac761c1494ea01fd03eadc60956
Mon, 30 Jan 2023 14:34:02 GMT
REFRESH

Error: pages-graphql
at throwOnGraphQLErrors (/usr/local/app/node_modules/@vtex/api/lib/HttpClient/GraphQLClient.js:10:15)
at /usr/local/app/node_modules/@vtex/api/lib/HttpClient/GraphQLClient.js:23:15
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at Pages.getPage (/usr/src/node/clients/pages.ts:289:28)
"root":{4 items
"graphQLErrors":[1 item
0:{9 items
"message":
string"Error resolving $ref pointer "app:[email protected]#/definitions/StorefrontUserWidgetProps". Token "StorefrontUserWidgetProps" does not exist."
"path":[1 item
0:
string"pageBlocks"
]
"extensions":{2 items
"code":
string"INTERNAL_SERVER_ERROR"
"exception":{2 items
"message":
string"Error resolving $ref pointer "app:[email protected]#/definitions/StorefrontUserWidgetProps". Token "StorefrontUserWidgetProps" does not exist."
"name":
string"SyntaxError"
}
}
"name":
string"GraphQLError"
"forwardedHost":
string"prehome31076312--salfab2bbyn.myvtex.com"
"operationId":
string"fba27192-2dfb-4c0d-8f59-79f424b7c4c3"
"query":{2 items
"query":
string"query pageBlocks($input: PageBlocksInput) { pageBlocks(input: $input) { appsEtag appsSettingsJSON blocksJSON blocksTreeJSON componentsJSON contentMapJSON extensionsJSON appsMessages { key message { from context content } } userMessages { key message { from context content } } page { blockId canonical canonicalPath disableExternals domain metaTags { description keywords } routeContextLocator routeId routePath paramsMapJSON paramsJSON pageContext { id type } title varyContentById } pagesJSON cacheHintsJSON runtimeJSON } }"
"variables":
string"{"input":{"depTree":"[{"id":"[email protected]","location":"/salfab2bbyn/prehome31076312/apps/[email protected]","registry":"vtex","vendor":"vtex","name":"sellers-graphql","version":"7.5.2","credentialType":"absolute","_buildFeatures":{},"_activationDate":"Mon Jan 1 00:00:00 UTC 0001","_resolvedDependencies":{"infra:service-node":"6","vtex.graphql-server":"1.67.6"},"_isRoot":false},{"id":"[email protected]","location":"/salfab2bbyn/prehome31076312/apps/[email protected]","registry":"vtex","vendor":"vtex","name":"rewriter","version":"1.56.5","settingsSchema":{"title":"VTEX Rewriter","type":"object","properties":{"enable404OneSegment":{"title":"Enable 404 for paths with one segment, e.g. /foo","description":"This will enable 404 for paths with one segment, make sure your search bar adds map=ft to your url.","type":"boolean","default":false},"routesVersion": [Truncated: variables too long]"
}
"requestId":
string"3447032296eb41d39d736f0f663e6fa4"
"pathName":
string"pageBlocks"
}
]
"name":
string"Error"
"message":
string"pages-graphql"
"stack":
string"Error: pages-graphql at throwOnGraphQLErrors (/usr/local/app/node_modules/@vtex/api/lib/HttpClient/GraphQLClient.js:10:15) at /usr/local/app/node_modules/@vtex/api/lib/HttpClient/GraphQLClient.js:23:15 at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) at Pages.getPage (/usr/src/node/clients/pages.ts:289:28)"
}

Everyting in manifest.json seems fine, but we couldn't find a solution for that yet albeit deactivating the b2b-user-widget.
image
image

To Reproduce

The error appears when we try to initialize a recently created workspace with the b2b-newstore-theme

Desktop (please complete the following information):

OS: Windows
Browser: Chrome

Thanks in advance,

Bruno

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