# update not working

**URL:** <https://talk.openmrs.org/t/update-not-working/38304>\
**Category:** Ask OpenMRS\
**Created:** [January 13, 2023, 9:18am UTC](https://talk.openmrs.org/t/update-not-working/38304 "2023-01-13T09:18:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abayomi](https://talk.openmrs.org/letter_avatar/abayomi/32/6_449c533f586939b6e5f246632a46421f.png) [@abayomi](https://talk.openmrs.org/u/abayomi)\
**Post date:** [January 13, 2023, 9:18am UTC](https://talk.openmrs.org/t/update-not-working/38304/1 "2023-01-13T09:18:01Z")

</div>

**Question:** I’m sending post request to ‘/openmrs/ws/rest/v1/receivedrugs/91ac442b-1cbc-4bec-b8e9-e3a063e45f70’.   
it’s showing **Request processing failed; nested exception is org.openmrs.module.webservices.rest.web.response.ObjectNotFoundException**

save working fine. only update not working.

Recourse

> **[package org.openmrs.module.receivedrugs.web.controller;import org.openmrs.ap...](https://pastebin.com/kYqYrAdv)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

ReceivedrugsService

> **[/\*\* \* This Source Code Form is subject to the terms of the Mozilla Public Lice...](https://pastebin.com/7KGT7cnE)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

ReceivedrugsServiceImpl

> **[/\*\* \* This Source Code Form is subject to the terms of the Mozilla Public Lice...](https://pastebin.com/SnNUTUTm)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

ReceivedrugsDao

> **[/\*\* \* This Source Code Form is subject to the terms of the Mozilla Public Lice...](https://pastebin.com/uPAVkqgX)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Error Log

> **[HTTP Status 500 – Internal Server ErrorType Exception ReportMessage Reques -...](https://pastebin.com/ydh653HU)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

please help me

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [January 15, 2023, 5:56pm UTC](https://talk.openmrs.org/t/update-not-working/38304/2 "2023-01-15T17:56:56Z")

</div>

From the error log, it looks like you are passing a uuid of an object which does not exist.

---

<div class="post-metadata">

**Author:** ![abayomi](https://talk.openmrs.org/letter_avatar/abayomi/32/6_449c533f586939b6e5f246632a46421f.png) [@abayomi](https://talk.openmrs.org/u/abayomi)\
**Post date:** [January 17, 2023, 4:35am UTC](https://talk.openmrs.org/t/update-not-working/38304/3 "2023-01-17T04:35:37Z")

</div>

Thanks for the reply. but uuid exist in database.

 ![Untitled](https://talk.openmrs.org/uploads/default/original/3X/8/5/8556ff9865f03d5b2c0d78af99b5623cddb532a8.png)
