-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Repro:
call the createTDF method with attribute values that do not exist.
Result:
Caused by: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: NOT_FOUND: resource not found
at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:592)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:571)
at io.opentdf.platform.sdk.Autoconfigure.newGranterFromService(Autoconfigure.java:690)
at io.opentdf.platform.sdk.TDF.createTDF(TDF.java:387)
It is unclear that this error occurs b/c the attribute does not exist in the target platform.
Recommendation: update to provide a more meaningful error. The current error appears to point to a connectivity or platform proto mismatch vs the actual error..resulting in a lot of wasted time debugging
b-long
Metadata
Metadata
Assignees
Labels
No labels