TioResponse object .code fails, due to decode not existing
Double check if this is a string or an int in a debugger.