---
title: "FAQ: why do I get error: “Argument 1 cannot be null”"
description: This error is annoying, Salesforce tells us the best practice is to use Protected Custom Settings for confidential information, then it goes and invents a new permission and then it does not allow ISV partner to add it to their…
url: "https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-faq/faq-why-do-i-get-error-argument-1-cannot-be-null/"
updated: "2023-11-01"
category: PDF BUTLER FAQ
---

# FAQ: why do I get error: “Argument 1 cannot be null”

This error is annoying, Salesforce tells us the best practice is to use Protected Custom Settings for confidential information, then it goes and invents a new permission and then it does not allow ISV partner to add it to their permissionsets automatically. Sorry, you have to set it yourself.

[https://www.youtube.com/watch?v=5KcDWQ-hQjg](https://www.youtube.com/watch?v=5KcDWQ-hQjg)
