Skip to main content

201101 - Failed to Create Address Object

Agent error code #201101 indicates that the Knocknoc agent was unable to create an address object on the SonicWall firewall. The agent creates address objects to represent IP addresses that should be granted access, and these objects are then added to address groups referenced by firewall rules.

This error occurs when:

  • The API user does not have permission to create address objects
  • An address object with the same name already exists (created outside of Knocknoc)
  • The SonicWall firewall has reached its maximum limit for address objects
  • The SonicWall API returned an unexpected error during the creation request

Steps to Resolve

Verify API User Permissions

The API user must have sufficient permissions to create address objects:

  1. Log into the SonicWall management interface
  2. Navigate to Device > Users > Local Users & Groups
  3. Verify the API user has administrative privileges or appropriate write permissions for address objects
  4. If the user belongs to a restricted group, consider assigning them to a group with full administrative access

For more details on API user configuration, see the SonicWall backend setup guide.

Sonicwall admin permissions

Check for Conflicting Address Objects

Knocknoc creates address objects with names in the format kk-<username>-<ip>. If an object with the same name already exists:

  1. In the SonicWall management interface, navigate to Object > Match Objects > Addresses
  2. Search for address objects starting with kk-
  3. If conflicting objects exist that were not created by Knocknoc, either remove them or rename them to avoid conflicts

Check Address Object Limits

SonicWall firewalls have limits on the number of address objects that can be created:

  1. In the SonicWall management interface, navigate to Object > Match Objects > Addresses
  2. Review the total number of address objects
  3. If the firewall is approaching its limit, consider removing unused address objects or upgrading the firewall license

Information on the limits of Sonicwall is available here.

Restart the Agent

If the issue persists after verifying the configuration:

  1. Restart the Knocknoc agent service
  2. Attempt the access grant operation again

Still Having Issues?

We can help you out, contact us at support@knocknoc.io.