n8n - 💡(How to fix) Fix i cannot create a workflow with ai based on a json file, keep etting a rejected by api error [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#30374Fetched 2026-05-14 03:45:26
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
commented ×1labeled ×1mentioned ×1subscribed ×1

Error Message

put the json into the ai builder , it returns the following error I encountered an error while generating the workflow. Your request was blocked by the API provider. This may be caused by content in the request that was flagged by the security filter. Please try rephrasing your request.

  • error: all

Root Cause

I encountered an error while generating the workflow. Your request was blocked by the API provider. This may be caused by content in the request that was flagged by the security filter. Please try rephrasing your request.

RAW_BUFFERClick to expand / collapse

Bug Description

{ "name": "ICP v4.1 Scorer", "nodes": [ { "parameters": { "httpMethod": "POST", "path": "score", "options": {} }, "id": "1", "name": "Webhook", "type": "n8n-nodes-base.webhook", "position": [250, 300] }, { "parameters": { "url": "https://vibeprospecting.explorium.ai/mcp", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendQuery": true, "queryParameters": { "parameters": [ { "name": "businesses_to_match", "value": "={{ JSON.stringify([{name: $json.company_name, domain: $json.company_domain}]) }}" } ] } }, "id": "2", "name": "Vibe Match", "type": "n8n-nodes-base.httpRequest", "position": [470, 300] }, { "parameters": { "url": "https://vibeprospecting.explorium.ai/mcp", "authentication": "genericCredentialType", "genericAuthType": "httpHeaderAuth", "sendQuery": true, "queryParameters": { "parameters": [ { "name": "session_id", "value": "={{ $json.session_id }}" }, { "name": "table_name", "value": "={{ $json.table_name }}" }, { "name": "enrichments", "value": "enrich-business-firmographics,enrich-business-technographics" } ] } }, "id": "3", "name": "Vibe Enrich", "type": "n8n-nodes-base.httpRequest", "position": [690, 300] }, { "parameters": { "jsCode": "const d=$input.all()[0].json.sample_data[0],r=d.firmo_yearly_revenue_range,s=d.firmo_number_of_employees_range,ts=d.tech_full_tech_stack?JSON.parse(d.tech_full_tech_stack):[],ms=['Azure','Databricks','Power BI'],hasMSFT=ts.some(t=>ms.some(m=>t.includes(m))),rej=[];!['200M-500M','500M-1B','1B-10B'].includes(r)&&rej.push('Revenue');!hasMSFT&&rej.push('No Microsoft');['1-10','11-50'].includes(s)&&rej.push('Startup');const sc={reg:0,ai:0,ms:hasMSFT?2:0,sz:0,pain:0,bud:0,buy:0};if(!rej.length){const i=(d.firmo_linkedin_industry_category||'').toLowerCase();['financial','healthcare','pharma','maritime','legal','energy'].some(x=>i.includes(x))&&(sc.reg=2);['ai','machine learning'].some(x=>d.firmo_business_description?.includes(x))&&(sc.ai=2);['501-1000','1001-5000'].includes(s)&&(sc.sz=2);['200M-500M','500M-1B','1B-10B'].includes(r)&&(sc.bud=2)}const tot=Object.values(sc).reduce((a,b)=>a+b);let tier='REJECTED';if(!rej.length)tier=tot>=12?'TIER 1':tot>=9?'TIER 2':'TIER 3';return[{json:{company:d.firmo_name,score:tot,tier,rejections:rej,breakdown:sc}}]" }, "id": "4", "name": "Score", "type": "n8n-nodes-base.code", "position": [910, 300] }, { "parameters": { "respondWith": "json", "responseBody": "={{ $json }}" }, "id": "5", "name": "Respond", "type": "n8n-nodes-base.respondToWebhook", "position": [1130, 300] } ], "connections": { "Webhook": {"main": [[{"node": "Vibe Match", "type": "main", "index": 0}]]}, "Vibe Match": {"main": [[{"node": "Vibe Enrich", "type": "main", "index": 0}]]}, "Vibe Enrich": {"main": [[{"node": "Score", "type": "main", "index": 0}]]}, "Score": {"main": [[{"node": "Respond", "type": "main", "index": 0}]]} } }

To Reproduce

put the json into the ai builder , it returns the following error

I encountered an error while generating the workflow. Your request was blocked by the API provider. This may be caused by content in the request that was flagged by the security filter. Please try rephrasing your request.

Expected behavior

it should build the workflow

Debug Info

Debug info

core

  • n8nVersion: 2.19.2
  • platform: docker (cloud)
  • nodeJsVersion: 24.14.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: enterprise (sandbox)
  • consumerId: 00000000-0000-0000-0000-000000000000

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/147.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2026-05-13T08:40:29.132Z

Operating System

mac os

n8n Version

2.19.2

Node.js Version

instance 346dbd438b303bce7b0ecdfaeb71513bd7aeb3614f7b0d5632f37423ac98ef5f

Database

SQLite (default)

Execution mode

main (default)

Hosting

n8n cloud

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

it should build the workflow

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING