Try the liquid spray from ‘Repels All’. I’ve had good luck with it. Under 15 bucks at Amazon, or you may find it locally at a garden center or hardware store.
But don’t get any on yourself - you’ll be hatting life! Once it’s dry we can’t smell it but the rabbits can. And remember to wash your veggies if you are spraying the actual fruits.
You can also whip up your own batch, if you are so inclined:
https://www.virginiawildlifepros.com/blog/5-proven-homemade-animal-repellent-recipes/
https://www.modernhomesteadingideas.com/homemade-liquid-fence-recipe/
Anything egg and / or milk base may draw opossums and raccoons. So far, hot pepper powder or flakes seems to be working for me, but yesterday evening’s gully-washer washed it all away. :-(