I noticed that you’re using an option contract in the option chain URL, which won’t work because contracts don’t have option chains. Please provide an index instrument key to retrieve option chain data.
You can refer to these sample codes for implementation:
Option Chain Example Code
Thank you!