For my part, I have only ever heard "in shambles". That's not to say that nobody says, "in a shambles". I can't be sure. In fact, ChatGPT assures me that "in a shambles" is also a correct and equivalent expression, but I have caught ChatGPT speaking nonsense before. So I say this only to offer my personal experience.