How to handle large requests to getMassProperties #42
candcconsulting
started this conversation in
General
Replies: 2 comments 1 reply
-
Please share x-correlation-id from a failing req |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @aruniverse here is a fresher correlation information |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have started to get 504 errors on requests to getMassProperties (admittedly only on large iModels)
Let me know if you want some more stats
If you want access to the project where they fail ... I can provide access
The below code was how I was trying to handle the failures ...
However, the error seems to be handled inside the iModelConnection.getMassProperties
Is there a way to enable the error to be handled by this function ... or is this incorrect ?
This is the error
https://api.bentley.com/imodel/rpc/v4/mode/1/context/73fb46a3-b956-4376-bec0-564a1a7a59d7/imodel/021dbd63-00ba-407c-8729-791b1cecbbb6/changeset/4291338b4f69bd5d2ae6e4691a6f5548ae4d82db/IModelReadRpcInterface-3.6.0-getMassProperties
Request Method:
POST
Status Code:
504 Gateway Timeout
and the payload is attached
payload.txt
Beta Was this translation helpful? Give feedback.
All reactions