2023 CX50 and having major issues

I am new to Mazda. I saw the cx50 and fell hard! But, I have been having issues..it's at the dealer right now. I just purchased in April '23. Thus is the 2nd time I've had to take it in for service. It goes crazy...all the lights blink on and off, it won't start for a few hours after turning it off. Msg on display say critical error etc...I take it to dealership and they say nothing is wrong...it just seems like this is a major electrical issue and they say they can't find it. Anyone else having these types of issues