Getting Error 40010 "Invalid JSON data" using the Email REST API

I am trying to send an email using the Messaging Email REST API and even when I submit with the sample request provided it returns HTTP 400 and the below. Any ideas??

{

    "error_code": "40010",

   "error_message": "Invalid JSON data"

}

Comments

  • Sorry you can mark this as resolved. When you copy the sample request it's missing quotes around the value for the pull_password once I fixed this it worked