I am creating a react app trying to mint an nft. Before I can mint, I need to upload an image file to IPFS however when I execute await imageFile.saveIPFS()
I am getting a POST 400 error
and Uncaught (in promise) Error: Not Allowed at handleError (RESTController.js:438:17)
. I know I am authenticated because I am logging isAuthenticated
and that is returning true
.
Here is a link to a codesandbox replicating the problem: https://codesandbox.io/s/nftminttest-r7brhb?file=/src/App.js