Insufficient Privileges When Creating an API Key

When creating an API key for your user in the Account Summary tab, you might receive the error below:

"Insufficient Privileges: Copado_Personal_Settings_c."

When a user generates an API key, the user is added to a custom setting called Personal Settings in the organization. The Customize Application permission is required to edit the custom settings, therefore you will receive the error above if your user doesn't have that permission assigned in the profile or a permission set.

How did we do?