Skip to main content

I am making a call with this data:

 

{

  "message_type": "email",

  "subject": "Hey",

  "body": "Ponies, cute small horses or something more sinister?",

  "template": "plain",

  "from": {

    "type": "admin",

    "id": "61df30800add612e4d8e19dc"

  },

  "to": {

    "type": "user",

    "id": "61df30800add612e4d8e19dc"

  }

}

 

and the response I get is as follows:

{

    "type": "error.list",

    "request_id": "004ar6gmrkcj0msrhlg0",

    "errors": o

        {

            "code": "not_found",

            "message": "Resource Not Found"

        }

    ]

}

 

Can someone tell me why and what mistake I am making?

 

Thanks

 

Nat

@ram n​  IDs are not correct I assume. They are the same and I doubt that user and admin have the same ID. Please check.


Reply