add some more info to logs + errors
url encode key
log key in metadata call
remove url encoding