Encountering a 401 Unauthorized error can be frustrating. This error typically occurs when there's an issue with your API key. Let's walk through some simple steps to resolve it.
Step 1: Obtain Your API Key
Visit your PDF.co dashboard: https://app.pdf.co
Locate your API key and click "Copy" to copy it.
Step 2: Enter Your API Key in Your Application
Depending on the application you're using, follow the appropriate steps:
Zapier:
Open your Zapier account and navigate to your PDF.co connection settings.
Paste your copied API key into the provided field.
Save your settings.
Make (Integromat):
Open your Make account and go to the PDF.co connection settings.
Paste your copied API key into the provided field.
Save your settings.
UiPath:
Open your UiPath project and locate the HTTP Request activity.
In the headers section, paste your copied API key as
x-api-key
.Save your settings.
Step 3: Verify Your API Key
Ensure there are no extra spaces or typos in your API key. Even a small error can cause the 401 Unauthorized error.