now printing more error data on get resource origin