Whether or not you can sue someone for refusing to bake a cake for your wedding depends on the specific circumstances and the laws of your jurisdiction.
In some countries, businesses are subject to anti-discrimination laws that prohibit them from refusing service based on certain protected characteristics such as race, religion, gender, or sexual orientation. If the refusal to bake a cake for your wedding is based on one of these protected characteristics, you may have legal grounds to pursue a discrimination claim.
However, if the refusal is not based on a protected characteristic and the business has a legitimate reason for declining your request (such as being fully booked or not providing wedding cakes as part of their services), it may be more challenging to pursue legal action.
To understand your rights and options in a specific situation, it is advisable to consult with a qualified attorney who can provide legal advice based on the laws applicable to your jurisdiction. They can help you assess the specifics of your case and provide guidance on whether pursuing legal action is feasible and appropriate.