hi @kartheek_gopu ,
Here are two potential solutions:
- If you’re using a VPN, try disconnecting and then run your code again. This might solve the issue.
- If disconnecting from the VPN isn’t feasible, you can modify your Ruby code by adding the following line:
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
Place this line right after:
http.use_ssl = true
Make sure to add http.verify_mode = OpenSSL::SSL::VERIFY_NONE
after every instance of http.use_ssl = true
in your code.
I have also found similar post here : Deleting Access Profiles and Roles in Bulk