My apologies, it was may mistake, instead of sending like ordinary ID that is primary key from db I was thinking I need to send UUID and that's why I was getting Not found, because before calling setContent() there is a call to repo findById() which requires Long not UUID. Now I see it works.