500 to 404 for edit_sample

Case 77532