Assignment rule: None not found

When I try to add an agent to a group from the desktop or the helpdesk app, I get this error:
Assignment rule: None not found
The resource you are looking for is not available.

I’ve already checked and added the agent to the assignment rule, but I’m still getting the error.

HELP

On which page you are getting this error

Share how your team looks like, in HD Team doctype
and share the assignment rule linked to the HD Team doctype