Problem saving workflow Autosave failed: Request failed with status code 403

Describe the problem/error/question

Newbie n8n user here. Im trying to build an AI agent on my company enterprise account using AWS bedrock chat model that connects to claude. The issue is that for some reason, halfway through building it, I always get this error “Problem saving workflow
Request failed with status code 403”. Ive tried logging out and in, clearing cookies, trying another browser, download the the workflow and importing it into a new one, rebuilding the exact same workflow, it always runs into the same issue. The error randomly shows up, it doesnt seem to be depending on a specific node (ive tried to remove and readd nodes). A lot of times, writing system message creates the error. No idea what is going on, can anyone help?

What is the error message (if any)?

Problem saving workflow

Autosave failed: Request failed with status code 403

Information on your n8n setup

  • n8n version: I think its version n8n@2.33.7
  • Database (default: SQLite): Snowflake/data table in n8n. All have the same issue
  • Operating system: Windows 10

Hey @Leohart, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@darrell_tw, @JohnBee, @brahimh - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

Hi @Leohart

The detail that stands out is that writing the system message often sets it off. A 403 that depends on what you typed, survives a new browser and cleared cookies, and isn’t tied to any particular node doesn’t really look like n8n to me. That’s more the shape of a firewall or corporate proxy inspecting the save request and rejecting it on content.

Autosave sends the whole workflow as a PATCH, so everything you type into a system message goes over the wire in that body. If something in there trips a rule, angle brackets, SQL looking words, a URL, the firewall blocks it before n8n ever sees it. A genuine n8n permissions problem would fail consistently rather than randomly.

Easy to confirm: open devtools, network tab, and catch the failed PATCH when it happens. If the response is an HTML block page with a reference or ray ID, it’s a firewall and this is one for your IT team. If it’s n8n JSON, then it is n8n and that changes the answer.

Either way, copy your workflow JSON out somewhere safe before you keep experimenting. Autosave failing means you’re one refresh away from losing work.

@Leohart

One more thing you can try without devtools: delete half the system message, save, and keep halving until it saves. That usually pins down the exact text that trips it, and rewording that bit is a quick workaround while you sort the real cause.

Also, is this Cloud or self-hosted? Changes who owns the firewall if that’s what it turns out to be.

Thanks for letting us know about this, We have created ADO-5763 as the internal dev ticket to look into it.

Thanks @anon71933009 . Sometimes simply adding a node would create the 403 error, im not an expert at looking at devtools, but checking with claude I think its saying something on the AWS side is blocking the workflow, smaller workflows seems to be fine? So it might be the size of the load? Ill try to check with whoever owns the AWS backend to see if they know anything.

@Leohart

That fits better than my content theory, and it gives you something specific to take to them.

AWS WAF’s default managed rule set includes a rule called SizeRestrictions_BODY that blocks any request with a body over 8KB. n8n sends the entire workflow on every autosave, so once your JSON crosses that line every save gets a 403, and adding a node or writing a longer system message is exactly what tips it over. Smaller workflows being fine is the giveaway.

Worth asking whoever owns the AWS side whether AWSManagedRulesCommonRuleSet is enabled in front of n8n, and whether SizeRestrictions_BODY is what’s blocking. They can either exclude that rule for the n8n path or raise the body inspection limit, both are config changes on their end rather than anything you can do.

Also worth having them look at CrossSiteScripting_BODY and SQLi_BODY from the same rule set. Those would explain the times it fired while you were typing a system message rather than adding nodes.

Hi @Leohart Welcome!
Take a small workflow that saves fine, add a Sticky Note, and paste plain prose into it a paragraph at a time. Sticky content travels in the same save payload as the nodes, and plain sentences give a content filter nothing to catch on, so length is the only variable. If the 403 starts at a certain length and stays, a body size limit is what’s rejecting the save. If it never fires however long the sticky gets, length isn’t the cause.
You’re on an Enterprise plan, so you have email support with an SLA rather than just the forum. Send help@n8n.io your instance URL, the point at which saves start failing, and what the sticky test showed.

Perhaps open the Chrome Dev Tool and check the network tab.
If the 403 problems happen again.
There will be a request that is red and show the detail message maybe.

Maybe you can screenshot it and we will have a clear picture about what is going wrong.