Skip to content

Deprecate KYCAS #153

Description

@ndigvijay

🧵 Bug Summary

remove KYCAS support as pesuacademy returns status code 403 for the respective endpoint

📋 Steps to Reproduce

run the following request
POST '127.0.0.1:5000/authenticate'
--header 'Content-Type: application/json'
--body '{
"username": [username],
"password": [psswd],
"profile": true,
"knowYourClassAndSection": true
}'

✅ Expected Behavior

{
"status": false,
"message": "Could not validate request data - body.knowYourClassAndSection: Extra inputs are not permitted",
"timestamp": "2026-08-11T11:48:19.740594+05:30"
}

❌ Actual Behavior

{
"status": false,
"message": "Failed to fetch "Know Your Class and Section" data from PESU Academy for user=PES2UG21CS310. Received status code 403.",
"timestamp": "2026-08-11T11:56:24.754696+05:30"
}

📦 API Version

No response

Commit SHA or name

4e14e18

🧪 Runtime Environment

macOS, py v3.14.6, uv

📜 Logs / Traceback

{
    "status": false,
    "message": "Failed to fetch \"Know Your Class and Section\" data from PESU Academy for user=PES2UG21CS310. Received status code 403.",
    "timestamp": "2026-08-11T11:56:24.754696+05:30"
}

📁 Area Affected

/authenticate

🧠 Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpesuacademyPESUAcademy client, authentication & profile logic

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions