Upload returns that sentinel when the desk already had the file (no real image id ever existed for it); passing it to DELETE /api/images/<id> gets a 400, not a 404, so the prior already-gone handling missed it.
Upload returns that sentinel when the desk already had the file (no real image id ever existed for it); passing it to DELETE /api/images/<id> gets a 400, not a 404, so the prior already-gone handling missed it.