# Getting CORS error while calling zeebe tasklist API's from custom angular tasklist application

**URL:** <https://forum.camunda.io/t/getting-cors-error-while-calling-zeebe-tasklist-apis-from-custom-angular-tasklist-application/49283>\
**Category:** Camunda 8 Topics\
**Created:** [December 8, 2023, 12:56pm UTC](https://forum.camunda.io/t/getting-cors-error-while-calling-zeebe-tasklist-apis-from-custom-angular-tasklist-application/49283 "2023-12-08T12:56:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NEWTOZEEBE](https://forum.camunda.io/user_avatar/forum.camunda.io/newtozeebe/32/27810_2.png) [@NEWTOZEEBE](https://forum.camunda.io/u/NEWTOZEEBE)\
**Post date:** [December 8, 2023, 12:56pm UTC](https://forum.camunda.io/t/getting-cors-error-while-calling-zeebe-tasklist-apis-from-custom-angular-tasklist-application/49283/1 "2023-12-08T12:56:20Z")

</div>

![ANGULAR ERROR](https://forum.camunda.io/uploads/default/original/3X/2/a/2a6161549d925c8e5504d97db6f8a446788d2b38.png)

I am creating a custom angular tasklist application. for that I am using tasklist API’s. but I am gettting CORS error while calling tasklist API from my angular application. I had uploaded my project structure.

 ![PROJECT STRUCTURE](https://forum.camunda.io/uploads/default/original/3X/2/9/29a19fd1fcfff8f5159a330e7843be852abe101d.png)

for now I am only using elasticsearch, zeebe, tasklist, and operate.

used API’s →   
1. (POST) - [http://localhost:8080/api/login?username=demo&password=demo](http://localhost:8080/api/login?username=demo&password=demo)

 ![1st API](https://forum.camunda.io/uploads/default/original/3X/4/8/48870de209f5a4ee699015fd452909b3919cf71c.png)

```
2. (POST) - http://localhost:8080/v1/tasks/search?TASKLIST-SESSION=D9A769CF1C7DB0725A9C5246C6BBA518

```

 ![2nd API](https://forum.camunda.io/uploads/default/original/3X/5/0/50df83f3c1adc05f752515fc0260dec3ab70123d.png)

```
3. (GET) - http://localhost:8080/v1/forms/userTaskForm_0ludier?processDefinitionKey=2251799813685588

```

 ![3rd API](https://forum.camunda.io/uploads/default/original/3X/f/5/f5392077164d629f960d40f7070752b3fb8ebcf8.png)

1st API return the tasklist-session in header which I am using for calling the 2nd and 3rd API.

I am not getting how to enable cross origin requests coming from [http://localhost:4200](http://localhost:4200) in zeebe tasklist

elasticsearch version - 7.16.2  
zeebe version - 8.3.0  
tasklist version - 8.3.0

---

<div class="post-metadata">

**Author:** ![Domingos\_Dias](https://forum.camunda.io/user_avatar/forum.camunda.io/domingos_dias/32/26761_2.png) [@Domingos\_Dias](https://forum.camunda.io/u/Domingos_Dias)\
**Post date:** [April 9, 2024, 2:35pm UTC](https://forum.camunda.io/t/getting-cors-error-while-calling-zeebe-tasklist-apis-from-custom-angular-tasklist-application/49283/2 "2024-04-09T14:35:59Z")

</div>

So @NEWTOZEEBE , did you manage to solve the problem?

---

<div class="post-metadata">

**Author:** ![stefanie\_borges](https://forum.camunda.io/user_avatar/forum.camunda.io/stefanie_borges/32/31412_2.png) [@stefanie\_borges](https://forum.camunda.io/u/stefanie_borges)\
**Post date:** [August 27, 2025, 7:34pm UTC](https://forum.camunda.io/t/getting-cors-error-while-calling-zeebe-tasklist-apis-from-custom-angular-tasklist-application/49283/3 "2025-08-27T19:34:05Z")

</div>

@Domingos_Dias, hey, how r u?  
did you manage? I have the same problem here too.
