I would not place all your money on it being as simple as a damaged ribbon cable, keep an open mind about wonky motors etc. etc. I am probably in the same boat with a Mavic Mini gimbal.
Unfortunately there is a lot of stuff packed into these gimbal assemblies and it seems that working out what teh problem is or perhaps where it lies, may come to replacing components, one at a time, and testing the whole assembly after each replacement.