---
title: "FAQ: Does PDF Butler work on a Scratch Org?"
description: "Sure it does! There is a \"but\" ;-) Generating documents is always possible but if you want to configure DocConfigs, you will need to create a password for you Scratch Org user and login via the browser Otherwise, you will…"
url: "https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-faq/faq-does-pdf-butler-work-on-a-scratch-org/"
updated: "2023-10-15"
category: PDF BUTLER FAQ
---

# FAQ: Does PDF Butler work on a Scratch Org?

Sure it does!
 There is a "but" ;-)
 Generating documents is always possible but if you want to configure DocConfigs, you will need to create a password for you Scratch Org user and login via the browser

Otherwise, you will see an error like: **"Oops, there was an error rendering Canvas application"** or **"Your Browsing session has ended or is invalid"**

You can generate a password via: **sfdx force:user:password:generate -u <username>**

You can see the password again by running: **sfdx force:user:display -u <username>"**

If you open the org via your IDE (eg VSCode), you will get the error: "Your browsing session has ended or is invalid" when opening the configpage.

![](https://landing.pdfbutler.com/wp-content/uploads/2023/08/openedviaide.png)
