user2103: Right now I have some NFTs to pin on the blockfrost IPFS. That way I don't need to run the node 24h a day. But for some reason the API returns an error when I try to add new assets.
I'm using a free account and have used 0/100mb so far. I used that before and it worked but now it doesn't anymore.
This is the endpoint I'm using:
curl "https://ipfs.blockfrost.io/api/v0/ipfs/add" \
  -X POST \
  -H "project_id: $PROJECT_ID" \
  -F "file=@./README.md"

The file I want to upload is a zip with a few KB, so not a big thing.
The error is an invalid project key, support says I need an IPFS key but I don't know how to obtain that.

user2103: Well, this is strange but blockfrost doesnt have the same api key for cardano mainnet and the ipfs.
You must create another project in order to use their api.
that's it.

2103: <p>Right now I have some NFTs to pin on the blockfrost IPFS. That way I don't need to run the node 24h a day. But for some reason the API returns an error when I try to add new assets.</p>
<p>I'm using a free account and have used 0/100mb so far. I used that before and it worked but now it doesn't anymore.</p>
<p>This is the endpoint I'm using:</p>
<pre><code>curl &quot;https://ipfs.blockfrost.io/api/v0/ipfs/add&quot; \
  -X POST \
  -H &quot;project_id: $PROJECT_ID&quot; \
  -F &quot;file=@./README.md&quot;
</code></pre>
<p>The file I want to upload is a zip with a few KB, so not a big thing.</p>
<p>The error is an invalid project key, support says I need an IPFS key but I don't know how to obtain that.</p>
 2103: <p>Well, this is strange but blockfrost doesnt have the same api key for cardano mainnet and the ipfs.
You must create another project in order to use their api.
that's it.</p>
