Don't blindly copy-paste, even comments. HTTP status code 429 is specifically for denial responses due to rate limiting, and does not apply in this case. In this case, the status code should probably be 403, indicating that the user is not allowed to proceed. See [the wikipedia page on HTTP status codes](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_Error) for more information about this.

The reason these comments exist in the codebase is because I don't know what Javascript is always expecting the response to always return a `200 OK` status code, so simply blindly changing the status codes will cause things to break. This should be cleaned up at some point, but I don't know who is the best person to do it: it's going to require a lot of knowledge of the LMS, and what pages make what AJAX calls.