Replies: 2 comments 2 replies
-
Have you tried the latest 2.19.x version? |
Beta Was this translation helpful? Give feedback.
0 replies
-
The error doesn't originate from us, so it's hard to tell what it means without additional details. Could you get a trace level log for the “ECPresentation” logger namespace or provide access to your iModel? One red flag is that the request is not paged. A content response for nearly 30k elements is going to be a massive JSON, so the first thing I'd try would be to request content in pages. At our RPC layer we force a max page size of 1k. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are observing below error during the external attribute extraction using the Presentation APIs:
D:\Siemens\Teamcenter14\TC_ROOT\CALM_Utilities\Plantcad2Tc\node_modules@bentley\presentation-backend\lib\presentation-backend\NativePlatform.js:120
const pollResult = this._nativeAddon.pollResponse(requestGuid);
^
Error: Unknown failure
at Timeout._onTimeout (D:\Siemens\Teamcenter14\TC_ROOT\CALM_Utilities\Plantcad2Tc\node_modules@bentley\presentation-backend\lib\presentation-backend\NativePlatform.js:120:58)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
we are calling the following API:
content = await Presentation.getManager().getContent({requestContext: ClientRequestContext.current, imodel: iModel,
rulesetOrId: ruleSet , descriptor: overrides, keys: keySet});
where ruleset is defined as below:
const ruleSet: Ruleset = { id:
properties, rules: [{ ruleType: RuleTypes.Content, specifications: [{ specType: ContentSpecificationTypes.SelectedNodeInstances, acceptableSchemaName: schemaName, acceptableClassNames: classNames, acceptablePolymorphically: true, }] }], };
"schemaName = PDMxPlant_Chevron"
"classNames = [ "ATTACHMENT", "BPANEL", "ELBOW", "FITTING", "FLUID_PORT", "FTUBE", "GASKET", "GENSEC", "NOZZLE", "PANEL", "PORT", "REDUCER", "SCTN", "STRUCTURE", "SUBSTRUCTURE", "TEE", "TMPLATE", "TUBE", "WELD"];
"The count of value in the keyset is 28650."
IModelJS library version : 2.19.2
Beta Was this translation helpful? Give feedback.
All reactions