Skip to main content
Question

error message: "Unexpected token B in JSON at position 32"

  • November 27, 2023
  • 6 replies
  • 128 views

I am attempting to create a Zap the when I get a new gmail email: New Downline Opportunity Available it will automatic create a new contact in KW COMMAND with tag PSM. It is saying: "Unexpected token B in JSON at position 32". I can’t figure out what’s going on or why it’s giving me an error.

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

6 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • November 27, 2023

Hi @waltoberry 

Good question.

We would need to see detailed screenshots with how your Zap steps are configured in the Zap EDIT mode along with the encountered error.


  • Author
  • New
  • November 27, 2023

 


  • Author
  • New
  • November 27, 2023

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • November 27, 2023

@waltoberry 

It’s likely due to the mapped variable for Last Name.

You may need to do email parsing or parsing of the email subject to get the desired values from the email for these fields:

  • First Name
  • Last Name
  • Email

 

Options:

  • App/Action: Mailparser - New Email Parsed
    • Parsing Rules are configured in Mailparser
  • App/Action: Formatter > Text > Split
  • App/Action: ChatGPT - Extract Structured Data
    • Requires a ChatGPT+ subscription
    • Requires an OpenAI billing payment method be conected
  • App/Action: Code - Run JavaScript

     

 

 


  • Author
  • New
  • November 28, 2023

Can you walk me through the easiest option.

 

This is foreign to me. I want to figure it out. It will make getting leads to command a lot easier. :)


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • November 28, 2023

@waltoberry 

Help articles to reference:

Formatter: https://zapier.com/apps/formatter/help

Mailparser: https://help.mailparser.io/hc/en-us

AI:

Code:

 

If you are looking to hire help, then check out the directory of Certified Zapier Experts: https://zapier.com/experts