Authorization Error with TP-Link API
ER605 v2 firmware: 2.2.6
TL-SG2210MP v1 firmware: 1.0.9
EAP610 v3 firmware: 1.4.4
I am working with the TP-Link API and encountering an issue when trying to retrieve a list of EAP (Extensible Authentication Protocol) ACLs (Access Control Lists). Despite following the documentation and implementing the authentication and request code correctly, I am receiving an authorization error indicating that the input parameters are not valid. Below are the steps I have taken and the error I am encountering.
Steps Taken:
-
Authentication:
- I perform an authentication request to obtain an access token.
- The authentication response is successful, and I receive the access token.
-
Data Request:
- I attempt to make a GET request to the URL to retrieve the list of EAP ACLs using the access token.
-
Error Encountered:
- When making the GET request, I receive an HTTP 404 error with the message:
{"msg":"Open API Authorized failed, please check whether the input parameters are legal.","errorCode":-44116}
.I am working with the TP-Link API and encountering an issue when trying to retrieve a list of EAP (Extensible Authentication Protocol) ACLs (Access Control Lists). Despite following the documentation and implementing the authentication and request code correctly, I am receiving an authorization error indicating that the input parameters are not valid. Below are the steps I have taken and the error I am encountering.
Steps Taken:
-
Authentication:
- I perform an authentication request to obtain an access token.
- The authentication response is successful, and I receive the access token.
-
Data Request:
- I attempt to make a GET request to the URL to retrieve the list of EAP ACLs using the access token.
-
Error Encountered:
- When making the GET request, I receive an HTTP 404 error with the message:
{"msg":"Open API Authorized failed, please check whether the input parameters are legal.","errorCode":-44116}
.
- When making the GET request, I receive an HTTP 404 error with the message:
- When making the GET request, I receive an HTTP 404 error with the message:
I would appreciate any guidance or suggestions on how to resolve this authorization error. Specifically, if there are additional parameters or configurations that I might be missing or if there might be an issue with the API itself.
Thank you!