dca: return error if the frame header is invalid