You need 'the' because you have an 'of' phrase. 'the' is usually used when there is an 'of' phrase, but not always. I can't say that there is any exact rule about it. 'consequences' without any adjective before it seems to me the sort of thing that can't be indefinite.
CJ