# Interpreting the error from the correlator

**URL:** <https://community.cumulocity.com/t/interpreting-the-error-from-the-correlator/7050>\
**Category:** Forum\
**Tags:** Streaming-Analytics-Apama, cumulocity\
**Created:** [March 30, 2023, 4:04pm UTC](https://community.cumulocity.com/t/interpreting-the-error-from-the-correlator/7050 "2023-03-30T16:04:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![edso](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@edso](https://community.cumulocity.com/u/edso)\
**Post date:** [March 30, 2023, 4:04pm UTC](https://community.cumulocity.com/t/interpreting-the-error-from-the-correlator/7050/1 "2023-03-30T16:04:38Z")

</div>

#### What product/components do you use and which version/fix level are you on?

Cumulocity Streaming Analytics EPL  
Backend 1009.0.12

#### Is your question related to the free trial, or to a production (customer) instance?

staging tenant

#### What are you trying to achieve? Please describe it in detail.

Trying to run my EPL Code without error.  
What is this error telling me and where is the likely area I want to look into.

#### Do you get any error messages? Please provide a **full error** message screenshot and log file.

`[correlator] 2023-03-30 15:33:58.491 WARN [140598112098048] - <connectivity.jsonCodec.CumulocityIoTGenericChain> Error while transforming message: JSON parse error: The document root must not be followed by other values. (17271507); Message<metadata={contentType:application/vnd.com.nsn.cumulocity.managedobjectcollection+json,charset:utf-8,http:{path:/inventory/managedObjects,cookies:{},statusReason:OK,headers:{content-type:application/vnd.com.nsn.cumulocity.managedobjectcollection+json;charset=UTF-8;ver=0.9,cache-control:no-cache,no-store,must-revalidate,expires:-1,transfer-encoding:chunked,date:Thu, 30 Mar 2023 15:33:53 GMT,pragma:no-cache,strict-transport-security:max-age=31536000; includeSubDomains,connection:keep-alive},statusCode:200,method:GET},requestId:88}, payload={"next":" ...> will be dropped.`

#### Have you installed all the latest fixes for the products and systems you are using?

No/No Sure  
The same code is running without in the production tenant with the same backend.  
replacing https with xxx to by-pass check for link that is not allowed

---

<div class="post-metadata">

**Author:** ![Matthew\_Johnson](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/matthew_johnson/32/22724_2.png) [@Matthew\_Johnson](https://community.cumulocity.com/u/Matthew_Johnson)\
**Post date:** [April 18, 2023, 7:53pm UTC](https://community.cumulocity.com/t/interpreting-the-error-from-the-correlator/7050/2 "2023-04-18T19:53:58Z")

</div>

Hi Eddie, 10.9 is quite old at this point, do you need to use that rather than the latest?

It looks as if our JSON codec thinks the JSON returned from /inventory/managedObjects is invalid (specifically it’s complaining that it looks like {…}somethingelse ). Assuming that your inventory is not actually returning corrupt data, it smells like a bug. We have completely rewritten this code in 10.15. Are you able to provide the actual response you get (possibly from postman) for that query?

Matt

---

<div class="post-metadata">

**Author:** ![edso](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@edso](https://community.cumulocity.com/u/edso)\
**Post date:** [May 3, 2023, 4:18pm UTC](https://community.cumulocity.com/t/interpreting-the-error-from-the-correlator/7050/3 "2023-05-03T16:18:52Z")

</div>

Upgrading to 1015 seemed to solved the problem.  
Thanks Matt!

---

<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:** [October 30, 2023, 4:19pm UTC](https://community.cumulocity.com/t/interpreting-the-error-from-the-correlator/7050/4 "2023-10-30T16:19:08Z")

</div>

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