# Update parameters of a Bonita task

**URL:** <https://community.ofelia.com/t/update-parameters-of-a-bonita-task/8902>\
**Category:** Q&A\
**Created:** [20 December 2017 09:27 UTC](https://community.ofelia.com/t/update-parameters-of-a-bonita-task/8902 "2017-12-20T09:27:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iuliana](https://avatars.discourse-cdn.com/v4/letter/i/f17d59/32.png) [@Iuliana](https://community.ofelia.com/u/Iuliana)\
**Post date:** [20 December 2017 09:27 UTC](https://community.ofelia.com/t/update-parameters-of-a-bonita-task/8902/1 "2017-12-20T09:27:12Z")

</div>

Hi  
We are trying to change the parameters of a Bonita task using Put method in a REST API. We are using url API/bpm/task/ + taskID  
For example, for state, we passed the json: “{“state”:“completed”}” and we got the following error: StatusCode: 500, ReasonPhrase: ‘Internal Server Error’  
Can you help, please?
