Skip to content

Passed

org.eclipse.ditto.things.service.enforcement.PolicyIdReferencePlaceholderResolverTest.resolvePolicyIdFromThingForwardsExceptionOfThingErrorResponse

Took 0.11 sec.

Standard Output

2022-12-16 08:06:59,920 INFO  [] org.eclipse.ditto.things.service.enforcement.PolicyIdReferencePlaceholderResolver - Got ThingErrorResponse when waiting on RetrieveThingResponse when resolving policy ID placeholder reference <ReferencePlaceholder [referencedEntityType=THINGS, referencedEntityId=namespace:myThing, referencedField=/policyId]>: ThingErrorResponse [dittoHeaders=ImmutableDittoHeaders [{response-required=false}], responseType=things.responses:errorResponse, httpStatus=HttpStatus [code=404, category=CLIENT_ERROR], thingId=unknown:unknown, dittoRuntimeException=ThingNotAccessibleException [message='The Thing with ID 'namespace:myThing' could not be found or requester had insufficient permissions to access it.', errorCode=things:thing.notfound, httpStatus=HttpStatus [code=404, category=CLIENT_ERROR], description='Check if the ID of your requested Thing was correct and you have sufficient permissions.', href=null, dittoHeaders=ImmutableDittoHeaders [{}]]]