---
title: "Failed to find a valid digest in the “integrity” attribute for resources in Blazor app"  
description: "Failed to find a valid digest in the “integrity” attribute for resources in Blazor app"  
author: "Revati S Misra"  
published: 2023-11-09  
updated: 2023-11-18  
canonical: https://www.mindstick.com/forum/160475/failed-to-find-a-valid-digest-in-the-integrity-attribute-for-resources-in-blazor-app  
category: "visual studio"  
tags: [".net core", "visual studio 2022", "blazor"]  
reading_time: 2 minutes  

---

# Failed to find a valid digest in the “integrity” attribute for resources in Blazor app

[Failed](https://www.mindstick.com/forum/160484/error-failed-to-launch-debug-adapter-additional-information-may-be-available-in-the-output-window) to find a valid digest in the “[integrity](https://www.mindstick.com/forum/159808/how-do-you-verify-the-integrity-of-a-restored-database)” [attribute](https://www.mindstick.com/blog/221/attributes-reflection) for [resources](https://yourviews.mindstick.com/view/293/renovation-causes-wastage-of-resources) in [Blazor](https://www.mindstick.com/articles/336699/benefits-and-use-cases-of-using-blazor-for-web-development) app

## Replies

### Reply by Aryan Kumar

Encountering the "failed to find a valid digest in the integrity attribute for resource" issue in a Blazor app typically means there's a problem with the integrity check for a resource. This error is often related to the security feature that ensures the loaded resources haven't been tampered with.

Here are a few steps to troubleshoot and resolve this issue:

**Check Resource Integrity:** Verify the integrity attribute of the resource causing the error. It's usually in the form of a cryptographic hash (SHA-256). Ensure that the hash matches the actual content of the resource.

**Resource Loading:** Confirm that the resource is being loaded correctly in your Blazor app. Check the paths and URLs to make sure they are accurate and pointing to the intended resources.

**Browser Cache:** Clear your browser cache. Sometimes, the integrity check fails due to cached or outdated versions of resources.

**Build Process:** If you are using a build process (like webpack or other bundlers), ensure that it is configured correctly. The bundler might be modifying the resources in a way that affects their integrity.

**Update Dependencies:** Ensure that your Blazor app and any third-party libraries are up-to-date. Sometimes, issues are resolved in newer versions of the tools or libraries.


---

Original Source: https://www.mindstick.com/forum/160475/failed-to-find-a-valid-digest-in-the-integrity-attribute-for-resources-in-blazor-app

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
