I would like to send custom error message for any authentication related
issue.

Currently APIM is sending default error message that is following

{
    "fault": {
        "code": 900901,
        "message": "Invalid Credentials",
        "description": "Access failure for API: /xxxx/v1, version: v1
status: (900901) - Invalid Credentials. Make sure you have given the correct
access token"
    }
}

I tried to modify the sequence '_auth_failure_handler_.xml', but that didn't
make any difference. 

Any suggestion would be helpful.

Vivek




--
Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to