If I'm reading this right, you find that veggies aggravate joint pain.
Do you have chapter and verse on this?
I sometimes get joint pain but I haven't tracked down a linked factor yet.
Wotcha!
To my regret, I spent several years rolling my eyes every time my mother went on about how tomatoes affected her arthritic thumb joints. Mea Culpa. It all seemed an utter absurdity in my youth. I doubt if I would believe it now, if I didn't have predictable pain to prove it.
Now I have reached the crumbly 50s, my body is following the same hereditary track, and I can - like clockwork - predict that after eating tomatoes, both my thumb joints flare up with arthritis (or rheumatism, or whatever). And potatoes annoy my knees. I also get a rather miserable overall things-don't-feel-right from leafy greens and the cabbage/cauli/brocc family. My digestive tract whinges vocally if it gets veg, but seems to tolerate fibre from seeds and nuts with glee.
If you have a google, you will find that potatoes, peppers and tomatoes are all in 'the nightshade family' which various sources claim has a detremental effect on arthritis. Lectins and phytic acid are also on the guest list.
Also that leafy greens and brassicas are high in oxalates, which are known (in some ppl) to cause unwellness.
https://www.greenwisdomhealth.com/antinutrients-and-nightshades/
It is all rather tiresome, and makes selecting vegetables extremely boring, so I suggest you find out which may/may not affect you before you make any assumptions.
My suggestion would be to do an elimination diet for a couple of weeks, and then re-introduce things one veg at a time. For me, the nightshades are the biggest baddies, but I guess we all vary on personal reactions. Also, how much we have eaten of them in recent years. The more you eat, the more your body gets tired of having to deal with the endless influx of oxalates and nightshadiness, and the more twitchy your joints may be.