Skip to main content
Best answer

JSON error due to special characters in message body

  • September 23, 2021
  • 1 reply
  • 466 views

Hey guys,

I keep getting the odd error on my JSON zap, due to special characters in the body. Can Someone take a look and let me know what exactly causes the error and what I can do about it?

data:

{
  "ticket": {
 "status": "open",
    "comment": {
      "body": "Hola, la semana pasada, por medio de la página Airbnb, alquilé el apartamento "with Wi-Fi and private pool" de su propiedad por el que aboné por mi banco la cantidad de X euros.\nHoy al entrar en su página para introducir mis datos y los de mi acompañante para que ustedes me enviaran los datos de la persona de contacto en Menorca, por mi ignorancia de inglés no sé que he hecho que les he vuelto ha abonar X Euro, cantidad que mañana será anulada.\nlos datos nuestros son:\name (name)\nname de nacimiento: 25/02/1922\nDNI: 1\ncaducidad: 03/09/2029\nname\n de nacimiento: 647982483",
"author_id": "1902817336834"
    }
  }
}

 

Best

Johannes

Best answer by robschmidtBest answer by robschmidt

Hi @Johannes 

Your JSON has “”(quotation) character in value, which looks like to be the culprit. Use https://jsonlint.com/ to check if your JSON is valid

View original
Did this topic help you find an answer to your question?
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

robschmidt
Forum|alt.badge.img+9
  • Zapier Expert
  • 617 replies
  • Answer
  • September 23, 2021

Hi @Johannes 

Your JSON has “”(quotation) character in value, which looks like to be the culprit. Use https://jsonlint.com/ to check if your JSON is valid