Claude and automated blog posts issue

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!

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?

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!

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?

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.

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!!

Many thanks, I will give it a try!