I am new to APIGee. In my project i am using OAuth 2.0 for Authentication.But i am not able to generate the Access Token. I have created all required policies, but still i am getting the same error all the time.
This is the command i am using to generate the Access Token.
I am using Postman to generate the Access Token.
https://<myorgname>test.apigee.net/<myproxyname>/client_credential/accesstoken?grant_type=client_credentials&client_id=<myclient_id>&client_secret=<myclient_secret>’
I have also tried with curl
https://<myorgname>test.apigee.net/<myproxyname>/client_credential/accesstoken?grant_type=client_credentials -X POST -d 'client_id=<myclient_id>&client_secret=<myclient_secret>’
Both of them give the same error
{ "fault": { "faultstring": "Classification failed for host orgname-test.apigee.net", "detail": { "code": "CLASSIFICATION_FAILED" } } }
Please help. Thanks in advance.
"Classification failed" generally means that the URL is not resolving to any endpoint. There can be several reasons for this: