Why does a payment get the error status?
An error status is final. A transaction gets the error status when the payment was validated and received correctly but an error took place during the communication with the financial institution.
If an error takes place when you make an API call to Adyen, you will receive a response with a HTTP status code different from 200. In this response, you get errorCode and message fields that help you understand and solve the error.
You can receive a number of error codes depending on your integration type. All integrations can receive generic error codes.