This repository has been archived by the owner on Oct 17, 2023. It is now read-only.
Error creating embedded templates when there are no merge fields #55
Labels
Comments
PRs are always welcome, hence why this is open source :) |
@codesometech Thanks for the screenshots and explanation, seems straightforward enough. I'll see if I can get a patch out in the next few days. |
@codesometech Can you take a look at PR #57 and let me know if that will work for you? |
@codesometech This has been merged to develop. If you're so inclined, you can check out that branch and build (it will build version 4.0.4-SNAPSHOT) to test. I'll plan to release the official patch bump next week. |
@cmpaul Thank you. |
@cmpaul I tested this locally and it looks good. Could you please release this. |
@codesometech This has been released as v4.0.4. Please update and let me know if you have any issues. Thanks for your help! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am seeing the below exception while creating an embedded template using the Java SDK 4.0.3. I see that the request object has "[]" for merge_fields. I this it is because of that. Can you please take a look. I am including screen shots and code snippet from TemplateDraft.java for your reference. I think an empty check on mergeFileds map should fix the issue.
The text was updated successfully, but these errors were encountered: