Errror handling response

hello this my api response error

    "errors": [
            "code": "901",
            "status": 422,
            "detail": "salutation => The value you selected is not a valid choice."

and i used this in my base of custom app

 "response": {
		"error": {         // Error handling
		            //"type": "DataError",
			"message": "[{{statusCode}} {{body.errors.detail}}]"  // On error, returns error message as "[statusCode] error text".

but the error detail is not shown in module when i run the module

body.errors is an array, you need to use body.errors.1.detail