Skip to main content

201003 - User Not Enabled for API Access

Agent error code #201003 indicates that the SonicWall user account authenticated successfully, but the account is not configured for API access. The credentials are correct, but the user or user group settings on the SonicWall firewall restrict the account to management UI access only.

This error occurs when:

  • The user group has "Members go straight to the management UI on web login" disabled
  • The user account is configured for web-based management only, not programmatic API access
  • The user was created or modified without enabling API access permissions

Steps to Resolve

Enable API Access for the User Group

The most common cause of this error is a user group configuration setting. To enable API access:

  1. Log into the SonicWall management interface
  2. Navigate to Device > Users > Local Users & Groups > Local Groups (tab)
  3. Select the group that the API user belongs to (or create a dedicated group for API access)
  4. Select the Administration tab, then locate "Members go straight to the management UI on web login"
  5. Enable this setting
  6. Save the changes

This setting allows members of the group to access the SonicWall API rather than being redirected to the management UI.

Sonicwall "Members go straight to the management UI on web login"

Verify the User is in the Correct Group

After configuring the group:

  1. Navigate to Device > Users > Local Users & Groups > Local Users (tab)
  2. Select the API user account configured in Knocknoc
  3. Verify the user is assigned to a group that has API access enabled
  4. If necessary, change the user's group membership to an API-enabled group

Sonicwall user group assignments

Test API Access

After making changes, verify API access is working:

  1. Try to allow access to the Sonicwall instance in Knocknoc
  2. If the error persists, double-check the group settings and user membership

Still Having Issues?

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