Zapier · Webhooks by Zapier
Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response
Short answer
This error appears when you post to a Zapier webhook from a web browser and change the Content-Type header, so the browser's cross-origin security rejects the request. Do not set a custom Content-Type header in the request.
VerifiedLast verified
01Error text
Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.02Likely causes
- Data is sent from a web browser with a changed Content-Type header, and the browser's cross-origin security rejects the request.
03How to fix it
- Remove the custom Content-Type header from the request in your browser code.
- Send the request again.
04Fix it with AI
Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.
I'm getting this error in Zapier (Webhooks by Zapier):
Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.
What it usually means: This error appears when you post to a Zapier webhook from a web browser and change the Content-Type header, so the browser's cross-origin security rejects the request. Do not set a custom Content-Type header in the request.
Likely causes:
- Data is sent from a web browser with a changed Content-Type header, and the browser's cross-origin security rejects the request.
Fix steps that usually work:
1. Remove the custom Content-Type header from the request in your browser code.
2. Send the request again.
Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/zapier/webhooks-content-type-not-allowed-preflightNothing is sent anywhere from this page. Read what the assistant suggests before you apply it.
05Official documentation
→Related errors
- Webhooks by Zapier: 413 Request Entity Too Large"413 Request Entity Too Large" in Webhooks by Zapier means the payload is over the maximum webhook size, which is 10 MB for triggers and 5 MB for actions. Send a smaller payload that stays under the limit.
- Webhooks by Zapier: Error -2Error -2 in Webhooks by Zapier means the domain lookup for the URL failed. Check the URL in your webhook settings for extra spaces before or after it and remove them.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Zapier work:Open Zapier jobsZapier pay estimates