Comments (8)
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.
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.
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.
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.
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.
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.
(FYI, we can still see your edit history, so please get a new infura key!)
from nft-mix.
Okay thank you for the help, I am still a bit of a newbie :) and will do!
from nft-mix.
Related Issues (20)
- eth not found HOT 1
- Stuck on calling Createcollectible.py
- Stuck on Create_Collectible.py deployment HOT 9
- I'm try deploy on rinkeby testnets its give me error that ValueError(f"'{value}' is not a valid ETH address") from None HOT 2
- Openzeppelin _setTokenURI HOT 1
- ROCADERI
- Rinkeby Deprecated Oct.2022 HOT 4
- Lesson 6: ValueError: insufficient funds for gas * price + value when testing bad_actor try to use withdraw function HOT 2
- Switching To Sepolia Testnet HOT 1
- Cannot Run Scripts HOT 7
- ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) HOT 4
- No matter however I run, it shows The number of tokens you've deployed is: 0 HOT 3
- No matter however I run, it shows "The number of tokens you've deployed is: 0"
- invalid op code in create collectible HOT 5
- invalid opcode: opcode 0xfe not defined when funding on Polygon-main HOT 5
- Polygon-Main Gas Estimation Error on Mint HOT 2
- There is no main() in upload_to_pinata.py HOT 3
- len(advancedCollectible) -1 out of range HOT 6
- Stuck on TokenID 0 is ... HOT 2
- API request failed with: Invalid API Key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nft-mix.