# Event Processing Failed -- Decoder Microservice

**URL:** <https://community.cumulocity.com/t/event-processing-failed-decoder-microservice/7130>\
**Category:** Forum\
**Tags:** Monday-challenge, cumulocity\
**Created:** [June 21, 2023, 3:29am UTC](https://community.cumulocity.com/t/event-processing-failed-decoder-microservice/7130 "2023-06-21T03:29:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harrison\_Pace](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/harrison_pace/32/2961_2.png) [@Harrison\_Pace](https://community.cumulocity.com/u/Harrison_Pace)\
**Post date:** [June 21, 2023, 3:29am UTC](https://community.cumulocity.com/t/event-processing-failed-decoder-microservice/7130/1 "2023-06-21T03:29:22Z")

</div>

#### _ **Product/components** used and **version/fix** level:_

10.11

#### _Detailed explanation of the problem:_

I have a LwM2M Decoder microservice which is developed in Python (using Flask).

The microservice decoder creates several different children devices and creates measurements for these children devices.

The microservice makes 64 API requests to the Cumulocity Backend and takes about 20-30 seconds to run.

I am wondering if there is a timeout period as I am finding I am getting “Event Processing failed”, even though the response is well formed:

```auto
{
    "alarms": [],
    "events": [],
    "measurements": [],
    "dataFragments": [],
    "success": true
}

```

I am responding with a HTTP response code of 200. I have verified this by running the python program locally simulating the decoder environment.

The “c8y\_retry\_count” reaches 6, it seems the LwM2M agent isn’t validating the response.

#### _Error messages / **full error** message screenshot / **log** file:_

N/A

#### _Question related to a **free trial** , or to a **production (customer)** instance?_

Production

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [January 6, 2024, 2:37pm UTC](https://community.cumulocity.com/t/event-processing-failed-decoder-microservice/7130/3 "2024-01-06T14:37:08Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
