# Claude and automated blog posts issue

**URL:** <https://forums.realmacsoftware.com/t/claude-and-automated-blog-posts-issue/56949>\
**Category:** Elements\
**Created:** [July 8, 2026, 6:48pm UTC](https://forums.realmacsoftware.com/t/claude-and-automated-blog-posts-issue/56949 "2026-07-08T18:48:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [July 8, 2026, 6:48pm UTC](https://forums.realmacsoftware.com/t/claude-and-automated-blog-posts-issue/56949/1 "2026-07-08T18:48:35Z")

</div>

So I have been experimenting with Claude to generate blog posts. First issue (amongst may others) is that it does not add a URL title to the post if none is in the front matter, it puts [] which results in the field being displayed as “Array”

Next it does the same around the URL filed itself i.e. [] rather than “” so it does not appear.

Also if a frontmatter field is missing in the request to Claude (i.e no website site address is supplied) the the result is again the website showing “Array” rather than nothing.

This is what Claude had to say about it:

Diagnosing CMS schema quirks causing empty array rendering

Let me test whether there’s a way to actually remove a key rather than empty it — trying `null` instead of an empty string.

Identified server-side limitation preventing field deletion from markdown files

Identified server-side limitation preventing field deletion from markdown files

That confirms it — `null` produced the exact same result as empty string: `[]`. So this isn’t something I can control from the input side; the CMS server itself normalizes any “no value” field (empty string, null, or omitted) to an empty array `[]`rather than leaving the key out entirely. That’s what’s rendering as “Array” on the site.

This is a limitation of the `content_update_item`/`content_create_item` tools, not something fixable by changing what I send. Same category of issue as the `urltitle` list-wrapping bug — likely worth flagging on the Elements CMS support forum alongside your earlier linkification bug report, since it means **any unused optional field will show “Array” on the front end unless removed manually.**

For now, the practical fix is the same as before: after I create or update an entry, if a field like `facebook`, `offer`, `location`, or `phone` is genuinely not needed, you’ll need to delete that key from the frontmatter manually in the file manager rather than relying on me to blank it out.

Your thoughts appreciated!

---

<div class="post-metadata">

**Author:** ![MichaelDroste](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/michaeldroste/32/37212_2.png) [@MichaelDroste](https://forums.realmacsoftware.com/u/MichaelDroste)\
**Post date:** [July 8, 2026, 10:48pm UTC](https://forums.realmacsoftware.com/t/claude-and-automated-blog-posts-issue/56949/2 "2026-07-08T22:48:24Z")

</div>

Trying to understand….

It won’t do title?

Or you don’t have the field?

Or?

I have no problems… my workflow create markdown file on iPhone - download article to iCloud.

Go to desktop Claude ask it to post it to the CMS.

Add picture to elements or upload online through dashboard

Edit online with editor…

Finished

Maybe that would help you?

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [July 9, 2026, 8:58am UTC](https://forums.realmacsoftware.com/t/claude-and-automated-blog-posts-issue/56949/3 "2026-07-09T08:58:28Z")

</div>

I have a front matter field for web title but Claude is not creating one from the blog content, instead of putting in something like “my website” it just puts [] so when the web page is rendered it just says “Array”.

also I tried to get Claude to upload an image, resize it and post it to my resources folder. It did not like that!

---

<div class="post-metadata">

**Author:** ![MichaelDroste](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/michaeldroste/32/37212_2.png) [@MichaelDroste](https://forums.realmacsoftware.com/u/MichaelDroste)\
**Post date:** [July 9, 2026, 9:57am UTC](https://forums.realmacsoftware.com/t/claude-and-automated-blog-posts-issue/56949/4 "2026-07-09T09:57:47Z")

</div>

Don’t know if it matters- trying to troubleshoot - what is the name of the field?

Under settings in Dashboard is it set to ‘text’ ?

How are the functioning posts labeled?

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [July 9, 2026, 1:31pm UTC](https://forums.realmacsoftware.com/t/claude-and-automated-blog-posts-issue/56949/5 "2026-07-09T13:31:48Z")

</div>

Thanks, but this all works perfectly when tearing the info manually via the app or via the admin page. So it is not a settings issue. The issue is simply that Claude populates the urltitle frontmatter field with 2 square brackets not some text. It is this that results in the web page rendering “Array” for the web site link.

---

<div class="post-metadata">

**Author:** ![MichaelDroste](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/michaeldroste/32/37212_2.png) [@MichaelDroste](https://forums.realmacsoftware.com/u/MichaelDroste)\
**Post date:** [July 9, 2026, 6:26pm UTC](https://forums.realmacsoftware.com/t/claude-and-automated-blog-posts-issue/56949/6 "2026-07-09T18:26:17Z")

</div>

Now i understand….

I have a set of rules for Claude…

Make a new rule:

Remember to not use brackets in XYZ situation - please store this in permanent memory - save save save

That should do it!!

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [July 9, 2026, 6:46pm UTC](https://forums.realmacsoftware.com/t/claude-and-automated-blog-posts-issue/56949/7 "2026-07-09T18:46:25Z")

</div>

Many thanks, I will give it a try!
