Problem with kaggle api

Hey !
Somthing weird is going on in my kaggle account. I am able to download datasets using the api and I can even find the api tab from where you can copy the api code for downloading the dataset. But I am not able to find the api command from where I can copy the commands for competition ( I did accept the competitions rules ). If I directly type the necessary command I am getting 404 error ( just for competitions , it works for datasets ). I have attached a screenshot below where according to the tutorials available on net the api command should be :

As you can see I have joined the competition and my authentication is also done

But it stills showing 404 ( the above example is for different competition)
Please help me in finding what is wrong