Please help with 'Invalid project id'

i added my id and made request: but response is invalid project id: why?

curl -X POST -H "Content-Type: application/json" --data
'{"jsonrpc": "2.0", "id": 1, "method": "eth_blockNumber", "params": []}'

my project has exactly this id!

Hi @95pz_aru - welcome to the Infura community! When I try to replicate the error with your project id above, I get an error message that user project is inactive.

I would suggest creating a new project with a new project ID, and then following the curl example from our docs - try putting the URL just after curl.

Let us know if this helps!

1 Like