Question

Extract raw body from webhook : SyntaxError: Unexpected token o in JSON at position 1

  • 19 June 2020
  • 1 reply
  • 691 views

Hi there,

 

I’m trying to extract some data from a Webhook. The output looks like a JavaScript object however I’m not able to navigate through it. When trying to parse it

data = JSON.parse(inputData);

I have the following error:

SyntaxError: Unexpected token o in JSON at position 1

What does it mean? 

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +8

Hi @Simon_blueprint - Thanks for joining us on the forum! I’ve escalated your question to Support to better assist you. Stay tuned!