Retire user slave script retire_forum error

Description

I tried to invoke the slave retire_forum script (https://github.com/edx/tubular/blob/master/tubular/scripts/retire_one_learner.py) from my local machine against https://courses.stage.edx.org.
And I encountered the error below.
Looks like the URL to retire forum is not correct. See https://github.com/edx/edx-platform/pull/17818/files

Furthermore, if I tried to invoke the script again with the current state, it encounters another error

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Assignee

Brian Beggs

Reporter

Simon Chen

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Priority

Unset
Configure