Error when integrating new API

print what? What variable should I be trying to print or convert back into json?