Skip to content
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

Error while parsing metadata of the Property #11

Open
chaudhariyash10 opened this issue Jan 7, 2023 · 2 comments
Open

Error while parsing metadata of the Property #11

chaudhariyash10 opened this issue Jan 7, 2023 · 2 comments

Comments

@chaudhariyash10
Copy link

Cards are not showing because of the error
In app.js while getting metadata of the listed property, response.json() gives error.
image

@ThisIsPatrick07
Copy link

ThisIsPatrick07 commented Oct 17, 2024

Same issue here. Please help. Did you find a workaround?

@ThisIsPatrick07
Copy link

Oh wait I found it.
This error is occurring because you're response isn't a JSON response but rather an image. And that is because you have passed the image IPFS link that dapp university provided rather than the JSON link he provided.

Check your scripts/deploy.js file.
In there you are minting an NFT with the wrong link. Copy the link from the master branch code's scripts/deploy.js file and then paste it in your code. Now deploy the contracts onto the hardhat blockchain and then try running it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants