Where is this error getting triggered? Did you query object ID in DA to verify that it still exists (ie it didn't get deleted)? If its there, make sure that the ACL gives your user account at READ permissions. Query will also fail if you don't have appropriate permissions on the object.