This explains it well
http://en.wikipedia.org/wiki/Sweet_pea
Toxicity
Unlike the edible
pea, there is evidence that
seeds of members of the genus Lathyrus, including sweet pea, are toxic if ingested in quantity. A related species,
Lathyrus sativus, is grown for human consumption but when it forms a major part of the diet it causes symptoms of toxicity called
lathyrism. However, as Lathyrus odoratus seeds are rarely ingested by humans in any quantity, there is little information on their toxicity to humans. However, sweet pea ingestion is thought to lead to similar symptoms, which have been called "odoratism", or "sweet pea
lathyrism"
[2].
In studies of rats, animals fed a diet of 50% sweet pea seeds developed enlarged adrenals relative to control animals fed on edible peas
[3]. The main effect is thought to be on the formation of collagen. Symptoms are similar to those of
scurvy and copper deficiency, which share the common feature of inhibiting proper formation of collagen fibrils. Seeds of the sweet pea contain
beta-aminopropionitrile that prevents the cross-linking of
collagen by inhibiting
lysyl oxidase, leading to loose skin. Recent experiments have attempted to develop this chemical as a treatment to avoid disfiguring skin contractions after skin grafting
[4].