"Cannot access a closed resource set" Fix and Error Handling Update (500 & 404)