# SOLVED: convert-html-css-to-bricks-data still returns a generic permission error without postId, and the schema still marks it optional

**URL:** <https://forum.bricksbuilder.io/t/solved-convert-html-css-to-bricks-data-still-returns-a-generic-permission-error-without-postid-and-the-schema-still-marks-it-optional/40616>\
**Category:** Feature Requests / Improvements\
**Created:** [October 15, 2026, 10:47am UTC](https://forum.bricksbuilder.io/t/solved-convert-html-css-to-bricks-data-still-returns-a-generic-permission-error-without-postid-and-the-schema-still-marks-it-optional/40616 "2026-10-15T10:47:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![roundedhexagon](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/roundedhexagon/32/3136_2.png) [@roundedhexagon](https://forum.bricksbuilder.io/u/roundedhexagon)\
**Post date:** [October 15, 2026, 10:47am UTC](https://forum.bricksbuilder.io/t/solved-convert-html-css-to-bricks-data-still-returns-a-generic-permission-error-without-postid-and-the-schema-still-marks-it-optional/40616/1 "2026-10-15T10:47:17Z")

</div>

**Browser** : Chrome 152  
**OS** : macOS

Hi guys! Hope you’re all doing well. A small one from me this time, nothing urgent.

A short follow-up to [Convert-html-css-to-bricks-data gives a misleading permission error when postId is omitted](https://forum.bricksbuilder.io/t/solved-convert-html-css-to-bricks-data-gives-a-misleading-permission-error-when-postid-is-omitted/40265), marked solved in 2.4 with “the conversion guidance now makes the editable postId requirement explicit for non-administrators”. I re-tested on 2.4.3 and from a caller’s side nothing has changed, so I may be looking in the wrong place for that guidance.

Environment: Bricks 2.4.3, WordPress 7.1.3, through the Abilities API, as a non-administrator account holding `bricks_full_access`.

```auto
bricks/convert-html-css-to-bricks-data
{ "html": "<section><h2>t</h2></section>", "css": "" }

-> ability_invalid_permissions
   (the generic, localized "does not have necessary permission")

```

With `"postId": <any page the user can edit>` the same call succeeds. The ability’s input schema still has an empty `required` list.

An agent working from the schema and the error alone still can’t tell that `postId` is the missing piece. Either of two small changes would close it: list `postId` as required (or describe it as required for non-administrators in the schema), or mention `postId` in the permission error.

---

<div class="post-metadata">

**Author:** ![charaf](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/charaf/32/34412_2.png) [@charaf](https://forum.bricksbuilder.io/u/charaf)\
**Post date:** [October 16, 2026, 9:36am UTC](https://forum.bricksbuilder.io/t/solved-convert-html-css-to-bricks-data-still-returns-a-generic-permission-error-without-postid-and-the-schema-still-marks-it-optional/40616/3 "2026-10-16T09:36:17Z")

</div>

Hi @roundedhexagon,

Thanks for following up, you’re right that the error itself still doesn’t explain what’s missing. The earlier change added guidance to the ability and `postId` descriptions, but left the permission error unchanged.

I’ve added a separate improvement to our to-do list so the error explains that non-administrators need to supply an editable `postId`. It will remain optional in the schema because administrators can omit it.

We’ll update this thread once that improvement is released.

---

<div class="post-metadata">

**Author:** ![bricks.assistant](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/bricks.assistant/32/32537_2.png) [@bricks.assistant](https://forum.bricksbuilder.io/u/bricks.assistant)\
**Post date:** [October 28, 2026, 11:45am UTC](https://forum.bricksbuilder.io/t/solved-convert-html-css-to-bricks-data-still-returns-a-generic-permission-error-without-postid-and-the-schema-still-marks-it-optional/40616/4 "2026-10-28T11:45:40Z")

</div>

We’ve addressed this in Bricks 2.4.4, now available as a one-click update in your WordPress Dashboard.

Please read the [changelog entry](https://bricksbuilder.io/release/bricks-2-4-4/) before updating, and let us know if you experience any issues.

---

<div class="post-metadata">

**Author:** ![roundedhexagon](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/roundedhexagon/32/3136_2.png) [@roundedhexagon](https://forum.bricksbuilder.io/u/roundedhexagon)\
**Post date:** [October 28, 2026, 12:38pm UTC](https://forum.bricksbuilder.io/t/solved-convert-html-css-to-bricks-data-still-returns-a-generic-permission-error-without-postid-and-the-schema-still-marks-it-optional/40616/5 "2026-10-28T12:38:36Z")

</div>

Confirmed on 2.4.4, thank you! Without `postId` a non-administrator now gets `bricks_invalid_param` with “Non-administrators must supply postId for HTML and CSS-only conversion”, and the `postId` description says the same. Exactly what was needed.
