Kardashian Fireworks Show Authorities At Fault ... Kardashians Are Clean

10/1/2015 11:34 AM PDT

The Kardashian family did everything right during the midnight fireworks show in August that pissed off tons of LA locals ... and according to the D.A., the people to blame are in law enforcement.

The D.A. says the family will not be prosecuted for disturbing the peace, they had been given permission to do it from the Coast Guard and cops. There was even an LA fire captain there that night to make sure everything went according to plan.

While the D.A. does say the fireworks caused a "community inconvenience," they say all the right parties in law enforcement were notified before the event and still chose to do nothing.

It's interesting ... the day after the show, everyone in law enforcement pointed fingers at the other.