Poor execute. Any attack on a heavily fortified position requires a minimum of three components to have reasonable chance of success:
1. Surprise and confusion
2. Multiple vectors of attack to confuse and delay response
3. Heavy weaponry to push past determined defense.
Ideally such an attack should have been supported by 2-3 suicide trucks or at least bombers attacking from multiple directions, to allow for confusion and disorientation of defenders and QRT responders. Grenade launchers/grenades/RPGs should have been the next set of weapons, to smash through the defense grid.
It appears to be a hasty stiched up job, without adequate planning and resource allocation. As such if this was coordinated by an intelligence agency, the objective may not have been military/casualty count. More likely, the attack might contain a political message at its heart.
My two cents