# General.error.bad-request

**URL:** <https://forum.flowable.org/t/general-error-bad-request/1001>\
**Category:** Uncategorized\
**Created:** [September 26, 2017, 3:15am UTC](https://forum.flowable.org/t/general-error-bad-request/1001 "2017-09-26T03:15:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Imran\_Ahmed](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/imran_ahmed/32/324_2.png) [@Imran\_Ahmed](https://forum.flowable.org/u/Imran_Ahmed)\
**Post date:** [September 26, 2017, 3:15am UTC](https://forum.flowable.org/t/general-error-bad-request/1001/1 "2017-09-26T03:15:48Z")

</div>

Dear Experts,

I have created a simple service (HTTP) task to retrieve results from an external api ([http://api.fixer.io/latest](http://api.fixer.io/latest)) .

Task is getting started by doesn’t completed. If i click complete button manually it throws an error.

Error: {“message”:“Task 123 can’t be completed”,“messageKey”:“GENERAL.ERROR.BAD-REQUEST”}

I can access that API directly. So i am not sure what is the issue. Can someone help ?

URL called: [http://localhost:8080/flowable-task/app/rest/tasks/133/action/complete](http://localhost:8080/flowable-task/app/rest/tasks/133/action/complete)

Error: {“message”:“Internal server error”,“exception”:“Request method ‘GET’ not supported”}

![aqsw](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/flowable/original/1X/09902039a2dc08283c9096422224fc9892ff2c6c.JPG)

---

<div class="post-metadata">

**Author:** ![Vzy](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/vzy/32/1158_2.png) [@Vzy](https://forum.flowable.org/u/Vzy)\
**Post date:** [September 26, 2017, 10:53am UTC](https://forum.flowable.org/t/general-error-bad-request/1001/2 "2017-09-26T10:53:52Z")

</div>

try this info. --\> [http://www.jorambarrez.be/blog/2016/09/01/how-to-use-transient-variables-in-activiti/](http://www.jorambarrez.be/blog/2016/09/01/how-to-use-transient-variables-in-activiti/)

---

<div class="post-metadata">

**Author:** ![Imran\_Ahmed](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/imran_ahmed/32/324_2.png) [@Imran\_Ahmed](https://forum.flowable.org/u/Imran_Ahmed)\
**Post date:** [October 3, 2017, 5:42am UTC](https://forum.flowable.org/t/general-error-bad-request/1001/3 "2017-10-03T05:42:59Z")

</div>

Thanks.

Can you please let me know how to do this using editor ? I mean how to assign variables in the modeler ?

Eg: [http://localhost:8080/flowable-modeler/#/editor/xxxxxxxxxxxxx](http://localhost:8080/flowable-modeler/#/editor/xxxxxxxxxxxxx)

Whenever i made a http request it throws this message: Request method ‘GET’ not supported

Request Method : GET  
Request URL : [http://api.fixer.io/latest](http://api.fixer.io/latest)

for a REST (HTTP) task
