Skip to content
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

API: Bulk Add Peers Fails #425

Open
TapanBala opened this issue Oct 12, 2024 · 4 comments
Open

API: Bulk Add Peers Fails #425

TapanBala opened this issue Oct 12, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@TapanBala
Copy link

Seems the documentation for Bulk Add Peers has incorrect body parameters mentioned.

The described payload throws an exception since the addPeers route is still expecting public_key, allowed_ips and preshared_key in the payload and throws a KeyError exception.

As a temporary workaround passing empty values in the payload works:

"public_key": "",
"allowed_ips": "",
"preshared_key": ""

Also I couldn't find preshared_key_bulkAdd being used anywhere.

@TapanBala TapanBala added the bug Something isn't working label Oct 12, 2024
@donaldzou
Copy link
Owner

Oh nooo.. I must've pushed the v4.1 documentation to it...my bad

Also I couldn't find preshared_key_bulkAdd being used anywhere.

Yes and this is also only being used in the next release.

@vinaynarasimhan
Copy link

@donaldzou and @TapanBala , did you guys also notice, untitled files getting created ? when you try to generate files in large number.

i have noticed with 2000, but even have noticed with 50 numbers occasionally .

This is via web portal.

@donaldzou
Copy link
Owner

@donaldzou and @TapanBala , did you guys also notice, untitled files getting created ? when you try to generate files in large number.

i have noticed with 2000, but even have noticed with 50 numbers occasionally .

This is via web portal.

Hi @vinaynarasimhan , did you choose to use Pre-Shared Key?

@TapanBala
Copy link
Author

Oh nooo.. I must've pushed the v4.1 documentation to it...my bad

Ahh no worries. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants