Giter Club home page Giter Club logo

Comments (8)

PatrickAlphaC avatar PatrickAlphaC commented on June 6, 2024

Thanks for making this issue. Does this answer your question? https://ethereum.stackexchange.com/questions/106838/httperror-401-client-error-unauthorized-for-url-https-rinkeby-infura-io-v3

from nft-mix.

caynebrister avatar caynebrister commented on June 6, 2024

Thanks for making this issue. Does this answer your question? https://ethereum.stackexchange.com/questions/106838/httperror-401-client-error-unauthorized-for-url-https-rinkeby-infura-io-v3

Sadly no, I already set the private key and project id in the .env file, and your python program recognizes and uses that environment variable, but for some reason, the link it creates throws error 401 'HTTPError: 401 Client Error: Unauthorized for url: https://rinkeby.infura.io/v3/*the ID for my infura project* The last digits here being the infura project id. Also, I appreciate the swift response.

from nft-mix.

PatrickAlphaC avatar PatrickAlphaC commented on June 6, 2024

Hmm... I just tested your WEB3_INFURA_PROJECT_ID (FYI, now that it's public, don't use it in the future, cuz anyone could now), and it worked fine for me. I'd bet you have some odd setup or firewall issues... but I'm not sure.

Could you send what your .env file looks like?

from nft-mix.

caynebrister avatar caynebrister commented on June 6, 2024

export PRIVATE_KEY=(my wallet private key)
export WEB3_INFURA_PROJECT_ID=(the ID for my infura project)

This is the code for my .env, the parenthesis is where I replaced my actual information.

from nft-mix.

caynebrister avatar caynebrister commented on June 6, 2024

I am so sorry to waste your time, I feel like a fool, I took a closer look at the Infura project I had made and it turns out I chose Eth 2 instead of Eth. Sorry again and I appreciate you trying to help me with my dumb mistake๐Ÿ˜…

from nft-mix.

PatrickAlphaC avatar PatrickAlphaC commented on June 6, 2024

ahah no worries! Sometimes it takes talking out the problem to figure it out. This is called "rubber ducking". Glad you solved it!

from nft-mix.

PatrickAlphaC avatar PatrickAlphaC commented on June 6, 2024

(FYI, we can still see your edit history, so please get a new infura key!)

from nft-mix.

caynebrister avatar caynebrister commented on June 6, 2024

Okay thank you for the help, I am still a bit of a newbie :) and will do!

from nft-mix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.