Closed kybishop closed 3 years ago
Hi @kybishop
The reason for this error is that you are passing an empty params
object in the payload i.e. params: {}
Here is an example in the attachment where I sent a template without using the params object in the request body.
Happy to help! Shubham
We have a template that doesn't use any params. When attempting to send an email with no params, which the docs list as optional here, it fails with
"status":400,"text":"{\"code\":\"missing_parameter\",\"message\":\"params is blank\"}
.Adding a bogus param fixes the issue, so either the docs should be updated, or params actually made optional.