# Internal Server Error when using custom flowable-rest module

**URL:** <https://forum.flowable.org/t/internal-server-error-when-using-custom-flowable-rest-module/4470>\
**Category:** Flowable Engine\
**Created:** [September 5, 2019, 10:48am UTC](https://forum.flowable.org/t/internal-server-error-when-using-custom-flowable-rest-module/4470 "2019-09-05T10:48:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [September 6, 2019, 4:37am UTC](https://forum.flowable.org/t/internal-server-error-when-using-custom-flowable-rest-module/4470/4 "2019-09-06T04:37:28Z")

</div>

Sorry for the confusion, yes we can add endpoints using `@RestController`, but I was having hard time calling such endpoints from outside flowable, like from POSTMAN, the REST endpoint which you gave me in [this](https://forum.flowable.org/t/authenticating-flowable-task-from-other-application/4394/4) post, I’m able to use it to make calls from outside flowable.

That’s why I thought to just try to add a custom endpoint in ProcessInstanceCollectionResource.java and seeing if I’ll be able to call my endpoint from outside flowable or not.

Hope I made some things clear!!

---

_[View the full topic](https://forum.flowable.org/t/internal-server-error-when-using-custom-flowable-rest-module/4470)._
