-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use Create_WLAN #159
Comments
Which value are you passing as the wlangroup_id? |
The client documentation says to pass one retrieved from the
“list_wlan_groups”, so i pass the “_id” parameter from that command.
On Wed, May 25, 2022 at 4:39 PM malle-pietje ***@***.***> wrote:
Which value are passing as the wlangroup_id?
—
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVYZVUIFZA5N5KWWMVG3DJLVL2FYDANCNFSM5W56JRFQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Bill Meaney, CTS-D, CTS-I
Network Engineer/Developer
CommLink Integration Corp.
5 Strathmore Road, Natick, MA 01760
Office 617-982-0740
Fax 508-650-5124
|
Ok, understood, just checking. I don’t have the time at the moment but need to check if anything changed with this route for the latest controller versions. Maybe that parameter is no longer needed or renamed. |
Well, starting from version 6 of the UniFi controller, there is no longer such parameter as wlangroup_id. |
If anyone is willing to submit a pull request or share a code change here I will test and incorporate it in the mainstream package. |
I watched the browser network console when adding a new WiFi network on version 7.2.92 of the controller application and it looks like the API endpoint may have changed as well. The POST is going to |
Removing the wlangroup_id and changing the API endpoint worked. Pull request in #169 |
Can anyone please give complete working example of the Latest function and code without wlan group id |
Attempting to create a new WLAN according to documentation in client.php. See following code:
Debug is enabled. This function results in the output "false", debug output is also "false".
We tailed the logs in the docker container running the controller (7.1.65) and the server.log file generates this message:
<webapi-83> WARN sanitize - Invalid key exists in WlanConf payload, key=wlangroup_id
The text was updated successfully, but these errors were encountered: