All the error codes returned by J2534 API are listed below:

Value Name Description
0x00 STATUS_NOERROR Function completed successfully.
0x01 ERR_NOT_SUPPORTED Function option is not supported.
0x02 ERR_INVALID_CHANNEL_ID Channel Identifier or handle is not recognized.
0x03 ERR_INVALID_PROTOCOL_ID Protocol Identifier is not recognized.
0x04 ERR_NULL_PARAMETER NULL pointer presented as a function parameter, NULL is an invalid address.
0x05 ERR_INVALID_IOCTL_VALUE Ioctl GET_CONFIG/SET_CONFIG parameter value is not recognized.
0x06 ERR_INVALID_FLAGS Flags bit field(s) contain(s) an invalid value.
0x07 ERR_FAILED Unspecified error, use PassThruGetLastError for obtaining error text string.
0x08 ERR_DEVICE_NOT_CONNECTED PassThru device is not connected to the PC.
0x09 ERR_TIMEOUT Timeout violation. PassThru device is unable to read specified number of messages from the vehicle network. The actual number of messages returned is in NumMsgs.
0x0A ERR_INVALID_MSG Message contained a min/max length, ExtraData support or J1850PWM specific source address conflict violation.
0x0B ERR_INVALID_TIME_INTERVAL The time interval value is outside the specified range.
0x0C ERR_EXCEEDED_LIMIT The limit (ten) of filter/periodic messages has been exceeded for the protocol associated the communications channel.
0x0D ERR_INVALID_MSG_ID The message identifier or handle is not recognized.
0x0E ERR_DEVICE_IN_USE The specified PassThru device is already in use.
0x0F ERR_INVALID_IOCTL_ID Ioctl identifier is not recognized.
0x10 ERR_BUFFER_EMPTY PassThru device could not read any messages from the vehicle network.
0x11 ERR_BUFFER_FULL PassThru device could not queue any more transmit messages destined for the vehicle network.
0x12 ERR_BUFFER_OVERFLOW PassThru device experienced a buffer overflow and receive messages were lost.
0x13 ERR_PIN_INVALID Unknown pin number specified for the J1962 connector, or resource is already in use.
0x14 ERR_CHANNEL_IN_USE An existing communications channel is currently using the specified network protocol.
0x15 ERR_MSG_PROTOCOL_ID The specified protocol type within the message structure is different from the protocol associated with the communications channel when it was opened.
0x16 ERR_INVALID_FILTER_ID Filter identifier is not recognized.
0x17 ERR_NO_FLOW_CONTROL No ISO15765 flow control filter is set, or no filter matches the header of an outgoing message.
0x18 ERR_NOT_UNIQUE An existing filter already matches this header or node identifier.
0x19 ERR_INVALID_BAUDRATE Unable to honor requested Baud rate within required tolerances.
0x1A ERR_INVALID_DEVICE_ID PassThru device identifier is not recognized.