Hi All, I wanted to follow up on this as I am still stuck in this process. I have tried updating a cluster to 9.0.1 to see if that fixes the issue, however I am still experiencing the issue. I have tried it a different way of importing through CSV, with only the MAC, Role, and Bypass Role columns included. I am no longer getting errors, however it just does nothing now. It does not return an error or success message, it just says processing on the button then goes back to normal. I am trying to import ~250 nodes with a single CSV. I tried just importing 1 node, and got Success! 0 nodes imported, 1 skipped, however I am unsure why it was skipped since the node does not exist.
Thank you, Ben From: Brenek, Benjamin via PacketFence-users <[email protected]> Sent: Tuesday, May 28, 2019 9:55 AM To: [email protected] Cc: Brenek, Benjamin <[email protected]> Subject: [PacketFence-users] PacketFence API does not seem to be working correctly CAUTION: This email originated from outside of BAYADA. Beware of links and attachments. Hi All, I am trying to get a list of all PacketFence nodes that have a Bypass role set, however I am running into an issue with the API. I am running the following curl command to get the list of nodes: curl -k -X POST "https://packetfence.domain.com:9999/api/v1/nodes/search" -H "accept: application/json" -H "Authorization: <Auth_Key>" -H "Content-Type: application/json" -d "{\"limit\":\"1000000\",\"query\":{\"op\":\"and\",\"values\":[{\"field\":\"bypass_role_id\",\"op\":\"is_not\",\"values\":[null]}]},\"with_total_count\":true}" However, when I run this command I get the following error back: {"errors":[],"message":"is_not is not valid"} Any help would be appreciated. Thank you, Ben Our employees' reviews made us a Best Place to Work<https://www.glassdoor.com/survey/start_input.htm?showSurvey=REVIEWS&employerId=153924&contentOriginHook=PAGE_SRCH_COMPANIES> in 2018 &2019! Spread the word and earn a bonus by referring a friend.<http://hs.bayada.com/talent-scout-ilwid?utm_source=email%20signature&utm_medium=email&utm_campaign=Glassdoor%20Award> [Image removed by sender. Compassion, Excellence, Reliability]<http://bhhc.co/BAYemail_site> [Image removed by sender. Facebook]<http://bhhc.co/BAYemail_fb> [Image removed by sender. Twitter] <http://bhhc.co/BAYemail_tw> [Image removed by sender. LinkedIn] <http://bhhc.co/BAYemail_LI> [Image removed by sender. YouTube] <http://bhhc.co/BAYemail_yt> [Image removed by sender. Bayada] <http://bhhc.co/BAYemail_site> CONFIDENTIALITY NOTICE: This email may contain information belonging to BAYADA and is protected by law. Do not forward, copy, or otherwise disclose to anyone unless permitted by BAYADA or required by law. If you are not the intended recipient, please notify the sender immediately.
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
