Hey, sorry for a very late reply. I have been super busy/stressed this week.
RPC is a request-response protocol that web3 or ethers can use to call nodes/servers. 'invalid project id' should be your matic app-id suggests the following:
You may have incorrectly configured the .env file:
This could be that you have copied the app id over incorrectly (missed a character or something).
Or you have named your env vars differently. For example, the var name in the env file is different to the 'process.env.var_name' in your code.
We know the error is when you are trying to migrate. I would check the truffle-config.js carefully. Look at your env vars and how they are passed into the networks object.
Look forward to your response. All the best in your dev adventures!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, sorry for a very late reply. I have been super busy/stressed this week.
RPC is a request-response protocol that web3 or ethers can use to call nodes/servers. 'invalid project id' should be your matic app-id suggests the following:
You may have incorrectly configured the .env file:
This could be that you have copied the app id over incorrectly (missed a character or something).
Or you have named your env vars differently. For example, the var name in the env file is different to the 'process.env.var_name' in your code.
We know the error is when you are trying to migrate. I would check the truffle-config.js carefully. Look at your env vars and how they are passed into the networks object.
Look forward to your response. All the best in your dev adventures!