Must I fill in the AllowList to use TronGrid at Shasta?

I’m getting the error below.

Access to XMLHttpRequest at 'https://api.shasta.trongrid.io/wallet/getnodeinfo' from origin 'https://fgg.test' has been blocked by CORS policy: Request header field tron-pro-api-key is not allowed by Access-Control-Allow-Headers in preflight response.

Must I allow these - screenshot-www.trongrid.io-1658468868740 - Nimbus Capture

If so, what should I enter for the below.
AllowList User Agent
AllowList Requested Api
AllowList Origins

5 Likes

I figured out the issue for testnet. But for mainnet, must I fill in the AllowLists?

1 Like

The API key is not required while using the trongrid service. Remove that header and try again.

2 Likes