burntsock's avatar

HTTP 403/"Access Forbidden" when attempting to submit an exam answer

In creation of this post, I just found that this is a paid feature. Maybe have a badge on the button and/or a modal appear when clicked to explain this?

1 like
4 replies
burntsock's avatar

Any of them, at least under the "PHP For Beginners" course at the start of the 'path'.

1 like
JeffreyWay's avatar

@burntsock Hmm - I can't reproduce what you're seeing here. Everything is working properly.

The exam will not even open if you're not subscribed.

2 likes
Eimmaarose's avatar

Hi — good catch, and thanks for reporting this.

A 403 is technically correct from the server side, but from a UX point of view it’s confusing if the user only finds out after trying to submit. A couple of small improvements would make this much clearer:

What I’d suggest

Show a paid / Pro badge on the submit button (or on the exam page) so users know the feature is gated before they try it.

If they click the button and aren’t entitled, show a modal explaining: why it’s restricted, how to upgrade, and a link to a free trial or support.

Instead of surfacing a raw 403, return a structured error (e.g. 403 { code: "feature_locked", message: "This feature requires a Pro subscription" }) so the client can show a friendly message and CTAs.

Add a tooltip on hover and a short note on the exam page describing which actions are paid features.

Log these 403 hits so product/support can see how many users are blocked and whether messaging needs to change.

Suggested modal text

Feature locked — Pro required Submitting exam answers is a Pro feature. Upgrade to Pro to unlock submissions, progress tracking, and detailed feedback. [Upgrade] [Contact support]

Thanks again for flagging it — small changes like this save a lot of user confusion.

3 likes

Please or to participate in this conversation.