When this happened to me it was caused by an alternator gone bad due to a critter chewing through the insulation on a wire. The wire contacted the engine block and shorted the alternator. Not cheap to fix.
I took the positive wire off the battery and pluged back in. When I turned the car back on it was gone. I did this yesterday and it hasn't came back on since. ??????????