Access Denied - app blocked on codechef

I’m getting a response of

{"status":"Access Denied","result":{"errors":[{"message":"This app is currently blocked on 
codechef","code":"Access Denied"}]}}

on requesting access token. Can anyone help?

Hi,

I am assuming that you were trying to get access token using client credentials. You should use this cURL request

curl -X POST https://api.codechef.com/oauth/token -H ‘content-Type: application/json’ -d ‘{“grant_type”:“client_credentials” , “scope”:“public”, “client_id”:"{your_client_id_without_bracket}",“client_secret”:"{your_client_secret_without_bracket}",“redirect_uri”:"{your_redirect_uri_without_bracket}"}’

We have also fixed this in our documentation.