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 permission Customize Application 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?