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

infura error: project id required #239

Open
maxdesalle opened this issue Aug 18, 2022 · 3 comments
Open

infura error: project id required #239

maxdesalle opened this issue Aug 18, 2022 · 3 comments
Assignees
Labels

Comments

@maxdesalle
Copy link

Getting the following error when trying to push a folder to IPFS with the ipd <folder-name> command:

📂  Deploying build directory.
📦  Calculating size of build…
🚚  Directory build weighs 7.2 MiB.
⚙️   Validating pinners configurations…
⚙️   Validating DNS providers configurations…
📠  Uploading and pinning to Infura…
❌  An error has occurred:

HTTPError: project id required

    at Object.errorHandler [as handleError] (/usr/local/lib/node_modules/ipfs-deploy/node_modules/ipfs-http-client/src/lib/core.js:100:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Client.fetch (/usr/local/lib/node_modules/ipfs-deploy/node_modules/ipfs-utils/src/http.js:145:9)
    at async Object.addAll (/usr/local/lib/node_modules/ipfs-deploy/node_modules/ipfs-http-client/src/add-all.js:40:17)
    at async all (/usr/local/lib/node_modules/ipfs-deploy/node_modules/it-all/index.js:12:20)
    at async Infura.pinDir (/usr/local/lib/node_modules/ipfs-deploy/src/pinners/ipfs-node.js:26:22)
    at async pinCidOrDir (/usr/local/lib/node_modules/ipfs-deploy/src/deploy.js:50:17)
    at async deploy (/usr/local/lib/node_modules/ipfs-deploy/src/deploy.js:252:17)
    at async main (/usr/local/lib/node_modules/ipfs-deploy/src/cli.js:169:5)

Using NodeJS version v16.4.0.

@besoeasy
Copy link

Infura now requires project ID

nothing devs can do

@ekumahost
Copy link

so how do we add our project id. to this script to continue working

@hacdias hacdias changed the title HTTPError: project id required infura error: project id required Sep 1, 2022
@hacdias hacdias added help wanted Seeking public contribution on this issue good first issue Good issue for new contributors P2 Medium: Good to have, but can wait until someone steps up exp/beginner Can be confidently tackled by newcomers effort/hours Estimated to take one or several hours kind/bug A bug in existing code (including security flaws) labels Sep 1, 2022
@websoftwares websoftwares self-assigned this Sep 29, 2022
@websoftwares
Copy link
Collaborator

Hello @maxdesalle

I was successfully able to pin to Infura, all I had to do was create a .env file and store the project id and secret

See the readme docs here: https://github.com/ipfs-shipyard/ipfs-deploy/blob/master/md/usage.md#pinning-services-configuration

/CC @besoeasy @ekumahost

@websoftwares websoftwares added status/in-progress In progress and removed kind/bug A bug in existing code (including security flaws) help wanted Seeking public contribution on this issue good first issue Good issue for new contributors P2 Medium: Good to have, but can wait until someone steps up exp/beginner Can be confidently tackled by newcomers effort/hours Estimated to take one or several hours labels Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

5 participants