iMicknl / iMicknl/python-sagemcom-api
[FAST3896] Fail to login with a "400 - Bad Request"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 141
- Forks
- 49
- Avg merge
- 7h 54m
- Merged PRs (30d)
- 4
Description
Versions
| Key | Value |
|---|---|
| Package version | 1.4.3 |
| Python Version | 3.14.4 |
| F@st Router Model | FAST3896 |
Describe the bug
Trying the example code of the README.md fails to login to the modem it fails with "400 - Bad Request"
Manufacturer: "Sagemcom"
ManufacturerOUI: "6CBAB8"
ModelName: "FAST3896_TLC"
ModelNumber: "FAST3896"
ProductClass: "FAST3896"
To Reproduce
Steps to reproduce the behavior:
- Run the code of the example with the proper data
- It outputs:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>400 - Bad Request</title>
</head>
<body>
<h1>400 - Bad Request</h1>
<p>Request need a non empty 'req' part</p>
</body>
</html>
Expected behavior
Login succesful
Additional context
Add any other context about the problem here.
[bug]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README.md example and reproduce the login against the reported FAST3896 router using the listed package and Python versions. Trace the request that produces the “Request need a non empty 'req' part” response and compare it with the router’s expected request format. Done means the example logs in successfully without the 400 response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, authentication, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100