Error when integrating new API

Yeah it is. It crashes and produces that error in the console.