Error, Images from the file_storage canister not displaying - Cross-Origin Read Blocking (CORB) blocked cross-origin response

I have implimented the file_storage here GitHub - cybrowl/upload-file: uploading file assets in my project, but when I query the images assets in my react, with javascript, they are not dispalying I am seeing this error:

Cross-Origin Read Blocking (CORB) blocked cross-origin response http://b77ix-eeaaa-aaaaa-qaada-cai.localhost:8080/asset/557f457f-e44-aca-7c8-522ab2d940fe with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

How can I fix this?

I don’t know, but most likely it has something to do with the custom headers you set. This seems to be a good place to start debugging

1 Like