# trouble update status ?

**URL:** <https://forum.kintone.dev/t/trouble-update-status/393>\
**Category:** General\
**Created:** [January 26, 2021, 10:08am UTC](https://forum.kintone.dev/t/trouble-update-status/393 "2021-01-26T10:08:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [January 26, 2021, 10:08am UTC](https://forum.kintone.dev/t/trouble-update-status/393/1 "2021-01-26T10:08:45Z")

</div>

I have trouble update status.

Example :

[https://developer.kintone.io/hc/en-us/articles/213149747/#statusofrecord](https://developer.kintone.io/hc/en-us/articles/213149747/#statusofrecord)

[https://developer.kintone.io/hc/en-us/articles/360000334541-Update-Statuses](https://developer.kintone.io/hc/en-us/articles/360000334541-Update-Statuses)

Error :&nbsp; “message”:“Failed to update the status. The settings or the status itself may have been changed by someone.”

I need help.

var update = {  
“app”: 9573,  
“id”: 3,  
“action”: ‘Completed’  
}

kintone.api(kintone.api.url(’/k/v1/records/status’, true), ‘PUT’, body, function(resp) {  
//success  
console.log("success : "+JSON.stringify(resp));  
}, function(error) {  
//error  
console.log("error : "+JSON.stringify(error));  
});

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [January 26, 2021, 11:43pm UTC](https://forum.kintone.dev/t/trouble-update-status/393/2 "2021-01-26T23:43:22Z")

</div>

Hello NewTum,

There are two possibilities for you to see this error.

1. The action that you specified is incorrect.  
You need to specify the action name, not the status name.  
For example, in the default state, the action name of the status “Completed” is “Complete,” so you need to specify “Complete” in the program.

2. The status that you want to change is not supported by the record’s current status.  
For example, the default state of the statuses is:  
Not started \> In progress \> Completed

You can’t change the status to “Completed” when it is still in “Not started.”  
The only status you can change from “Not started” is to “In progress.”

I hope this helps,  
Chris

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [January 27, 2021, 6:11am UTC](https://forum.kintone.dev/t/trouble-update-status/393/3 "2021-01-27T06:11:10Z")

</div>

Hi Yuzo Arai,

Thanks for support.
