You can find information on how to connect your board in the “Connect Your Leaf” section. I’m assuming you’re using the leaf board and not the earlier model of the kit…
In terms determining what the error is, do you happen to have an FTDI cable? If so, there’s more monitoring you can do with the Serial Monitor in Arduino that would be helpful for debugging.