I’m using the field “Attach files” and sometimes it doesn’t work.
Here is the error message:
Workflow error - Plugin action Postmark - Send email error: ApiInputError: Invalid request field(s): $.Attachments[1].ContentType at Function.ApiInputError.buildSpecificError (/var/task/node_modules/postmark/dist/client/errors/Errors.js:124:24) at ErrorHandler.buildErrorByHttpStatusCode (/var/task/node_modules/postmark/dist/client/errors/ErrorHandler.js:43:45) at ErrorHandler.buildError (/var/task/node_modules/postmark/dist/client/errors/ErrorHandler.js:26:25) at AxiosHttpClient.transformError (/var/task/node_modules/postmark/dist/client/HttpClient.js:93:38) at /var/task/node_modules/postmark/dist/client/HttpClient.js:77:41 at processTicksAndRejections (internal/process/task_queues.js:95:5) at async eval (eval at build_function (/var/task/util/util_harness.js:37:12), :148:23) Error: Outer Error (see above for inner error) at Block.wait (/var/task/u.js:399:33) at async_fn (/var/task/plugin_api_v3.js:225:27) at Object.async (/var/task/plugin_api_v3.js:22:14) at eval (eval at build_function (/var/task/util/util_harness.js:37:12), :82:18) at eval (eval at build_function (/var/task/util/util_harness.js:37:12), :161:8) at /var/task/plugin_api_v3.js:275:27 at run_fn (/var/task/u.js:550:18)
There were two files and its extensions: jpeg and jfif. I noticed that it always break with this “jfif” extension.