"There was an error in the api" is seen when attempting to generate a PDF. In HIPAA Forms/Settings/Custom CSS, mPDF does not support the calc function.
For example,
.css_field
{
width: calc(100% +16px);
}
Would need to change to:
.css_field
{
width: 105%;
}