Closed AlexIvanHoward closed 1 day ago
@AlexIvanHoward thank you for the detailed explanation. Could you please upload a policy with which you have observed this behaviour so we are able to reproduce this exactly how you observe it?
@anavbar Here is the policy that I used in the screen recording: policy_1713185713329.zip
Problem description
Linking VCs via the API still does not work. This issue was originally raised as a discussion, but the problem still persists. My first contributions to the discussion were based on Guardian v2.21.1. I have since tested it on a newer version of Guardian (not entirely sure which one, because the version number does not show up when I go to 'Administration' > 'About', but I think it's v2.24.1 or v2.25.0), still without success.
Attached is a screen recording I made just now.
Note that I have tested it on both
/api/v1/policies/{policyId}/tag/{blockTag}/blocks
and/api/v1/policies/{policyId}/blocks/{blockId}
; neither was successful.Expected behavior
Linking VCs via POST requests to requestVcDocumentBlock elements of a policy should succeed.
https://github.com/hashgraph/guardian/assets/11308324/0c70694f-65a8-4f44-a86b-ac165139aa85