Cant get above 50% throttle

using a know good parameter file that we use for almost all of our UAS builds, but this current set of of motors we have t-motor 340’s and air 40 escs. I get to about 50% throttle then there seems to be a voltage drop and they go to an idle. I will attach a flight log any help is appreciated.
https://drive.google.com/drive/folders/1vJzrnD9aDALQAhftpaRPrOsy9P_33-qx?usp=sharing

Seems something in the cube was the problem changed it out for a new cube and had no issues.