-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"500 Other Error: Schema IRI Empty" and "Policy does not exist" During Dry-Run of Policy with Newly Created Tool #4094
Comments
@erikamoji so far we have not been able to reproduce the error you describe, because we've discovered that the Tool file that the policy references does not seem to be accessible in IPFS. Looking at the message ID 1724935433.754979003 the tool files CID in IPFS: Qmdv88UWXJkruBp5oP1kaF4fdUoce4aJYpHX2uvsEd3AYc (or in v1: bafybeihhoj4yfvyx7dnekz35mrehmoggxofpuntakhh77gqdw7gu5pb4du). Our attempts to access it manually via IPFS gateway were also unsuccessful. Can you please shed some light on how this Tool was published? |
@anvabr thanks for looking into the issue. the tool was published via the UI, within the tool dashboard using the publish button. |
@erikamoji we've been investigating this. It turns out that your tenant is configured with a local IPFS node, which means everything that's published on IPFS is only accessible to you. That's why we can't import your Tool - it's been published locally. Can you please send us the Tool file here or via Slack so we can try to reproduce the issue? |
@anvabr My partner attached the Tool files in our email to you and @prernaadev01 (29 August). Please let us know if you need us to send it again. |
@erikamoji Thank you so much for the info. We are looking at it. Will keep you posted. |
@erikamoji We tried importing the tool, which you provided and it works for us. |
@prernaadev01 We successfully imported the tool, added it to the policy and ran it in Dry Run mode. Unfortunately, we are getting the same errors. Attached is a video of our process and as you can see, it is the correct tool with message ID 1725636668.046506812 Recording.2024-09-09.085244.mp4Please let us know if you need anything else from our end. |
@kirill-tolochko Can you please check this video once |
@erikamoji Thank you so much for the video. Looks like you are trying to switch from Tool 01 to Tool 4 in policy configurator. But we would suggest you to please update the tool while importing the policy as shown below. Please update the Tool 4 message ID in the field shown in the below image. |
@prernaadev01 I import the Tool from the sidebar by dragging it into the policy. When I drag a Tool from the sidebar, it automatically renames the Tool, regardless of which one I select. I have attached a video demonstrating this behavior. To ensure I am following the correct process, I would appreciate a detailed video tutorial on how to import Tools using your preferred method. This should include steps from initial selection to loading the Tool into Dry Run after clicking "Go." I am unable to locate the specific reference you are making in the provided image Recording.2024-09-10.090148.mp4 |
Hi, can you please check this link for Tools documentation: https://docs.hedera.com/guardian/guardian/standard-registry/policies/tools/tools-using-ui#id-1.6-changing-tools
Prernaa Agarwal
Technical Product Owner | Envision Blockchain Solutions
Mobile Phone: 626-327-3140
Email: ***@***.******@***.***>
Website: www.envisionblockchain.com<http://www.envisionblockchain.com/>
[cid:97e66ecb-500f-4c75-b5c6-f7d536fc872f]
…________________________________
From: erika ***@***.***>
Sent: Tuesday, September 10, 2024 12:06 PM
To: hashgraph/guardian ***@***.***>
Cc: Prernaa Agarwal ***@***.***>; Mention ***@***.***>
Subject: Re: [hashgraph/guardian] "500 Other Error: Schema IRI Empty" and "Policy does not exist" During Dry-Run of Policy with Newly Created Tool (Issue #4094)
@prernaadev01<https://github.com/prernaadev01> I import the Tool from the sidebar by dragging it into the policy. When I drag a Tool from the sidebar, it automatically renames the Tool, regardless of which one I select. I have attached a video demonstrating this behavior.
To ensure I am following the correct process, I would appreciate a detailed video tutorial on how to import Tools using your preferred method. This should include steps from initial selection to loading the Tool into Dry Run after clicking "Go."
I am unable to locate the specific reference you are making in the provided image
https://github.com/user-attachments/assets/d6dc0162-91cc-4fa0-9b5f-43e56022448a
—
Reply to this email directly, view it on GitHub<#4094 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AS463CIR75S4Z4F3SSZQDSDZV4KKFAVCNFSM6AAAAABNKUWVHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBRGM3DSOBYGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@erikamoji Please check this once: |
@prernaadev01 Thanks! I'll check it out and get back to you! |
Thank you for your assistance so far. We wanted to provide an update regarding the issue we're experiencing with the policy Dry Run. We found that exporting the entire VM0003 policy with the tools, then importing them back, allowed the Dry Run to work. The error only occurs when we work within the initially created policy where tools are published and imported, but a Dry Run is attempted without exporting and re-importing the policy. Additionally, we are encountering an integration error specifically with AR Tool 03 and AR Tool 04, despite them being formatted similarly to CDM Tool 01. Could you review and provide guidance on this? Here are a few specifics:
Could the MGS team test a Dry Run on their end where a PPD is attempted to be created? Alternatively, could you check AR Tools 03 and 04 to provide guidance on this? We have reviewed all available documentation for Tools, including the demo video, but unfortunately, it does not cover this specific issue. For convenience, we have attached the policy again (in an email) with the tools for your review. Thank you for your continued support, and we look forward to your guidance. |
@erikamoji Thank you so much for the policy file and specifics. We are looking at it and will get back to you asap. |
@prernaadev01 Thank you for your help with the issues related to the tools so far. We have resolved the issue with AR Tool 04 However, we are still encountering issues with AR Tool 03, specifically in regard to calculations.
To assist with troubleshooting, we have attached (in an email) two policy files—one for each implementation of AR Tool 03—along with the relevant tool files. Additionally, we have included the Excel spreadsheet schema for the tool, which outlines the formulas, for your reference. We greatly appreciate your continued assistance in resolving these issues. |
@prernaadev01 @anvabr thank you so much for your help thus far. we have actually managed to figure out the issue, but we appreciate all the assistance you've given us. i'm closing this bug issue :) |
@erikamoji Its fantastic news. |
Problem description
When attempting a dry-run of a policy that incorporates a newly created and published tool, we are encountering the following errors:
These errors appear after the tool is published and included in the policy configuration. There is no further context provided by the error message, and we are unable to proceed with the dry-run under these conditions.
Step to reproduce
Expected behavior
The dry-run should execute successfully without error when a valid, published tool is included in the policy.
Troubleshooting Steps Taken:
Additional Information:
Screenshots
The text was updated successfully, but these errors were encountered: