# SPIN/JACKSON-JSON-01002 Expected 'SpinList', got 'OBJECT'

**URL:** <https://forum.camunda.io/t/spin-jackson-json-01002-expected-spinlist-got-object/49985>\
**Category:** Camunda 7 Topics\
**Created:** [January 18, 2024, 12:44pm UTC](https://forum.camunda.io/t/spin-jackson-json-01002-expected-spinlist-got-object/49985 "2024-01-18T12:44:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmurib](https://forum.camunda.io/letter_avatar_proxy/v4/letter/h/ecccb3/32.png) [@hmurib](https://forum.camunda.io/u/hmurib)\
**Post date:** [January 18, 2024, 12:44pm UTC](https://forum.camunda.io/t/spin-jackson-json-01002-expected-spinlist-got-object/49985/1 "2024-01-18T12:44:42Z")

</div>

Hello, I’m a bit new in Camunda.

I get an error when adding variable to idDcoumento from tasklist in http-connector in payload variable.

The inlined javascript is as follow:

var postJSONTemp = ‘{  
“idUsuario”: "’+idUsuario+‘",  
“idDocumento”: "’+idDocumento+‘",  
“token”: "’+token+‘"  
}’;  
postJSONTemp;

The error i get is :

**An error happened while submitting the task form**  **:** Cannot submit task form 39766db9-b5fd-11ee-bcf8-00090faa0001: Unable to evaluate script:org.camunda.spin.json.SpinJsonDataFormatException: SPIN/JACKSON-JSON-01002 Expected ‘SpinList’, got ‘OBJECT’

Appreciate any help.
