upload_resource fixed
debug log on pamba