Skip to main content
Version: 2.0.0

No matching resource sets found for the given user and attributes

This error surfaced because the user you are attempting to verify does not have any associated resource sets. Essentially, the user attributes you're submitting either in the check or within the Permit database do not align with any resource sets established in the Permit web application.

You can view and manage the resource sets you have crafted in the Policy Management Screen, where you'll also have the option to modify a resource set and review its conditions.

A Solution to the issue

To resolve this, you have two options: either send the correct user attributes or establish a resource set that aligns with the user attributes you are defining.

Sending the correct user attributes

Ensure that the necessary user attributes are stored in the Permit DB if you are utilizing it. You can verify this information through the User Management Screen in the Permit web application or by utilizing the Get User API Call.

If you're inputting the attributes via the permit.check(), double-check that you're sending the correct attributes.

Creating a Resource Set that matches the user attributes

You can create a Resource Set that matches the user attributes using Policy management screen in the Permit web application.

You can also create a Resource Set with the Create resource set API call.