Hey Mike!
Thanks for your pointer: I was not sure if data.statusCode was the right one and actually, it was not
data.statusCode
I tried data.status and was undefined, but metadata.status was the right one to use. Thank you so much for your help
data.status
metadata.status