Hi Sutirtha Datta,
Sorry to hear that the jump links are not working for you.
There could be several reasons for this, such as a theme conflict, plugin conflict, the method you’re using to add the TOC (shortcode vs. auto-insertion), or whether you’re using a page builder.
Could you please provide a bit more information so we can investigate further and help identify the cause?