Issue: Unable to Import cURL – Import Button Not Working
Describe the Problem
I’m trying to import a cURL command into n8n, but it’s not working as expected. When I copy and paste the cURL command and press the Import button, nothing happens—no response, and no workflow is imported.
What is the Error Message (if any)?
There is no visible error message, but the import process does not work.
Steps to Reproduce
- Open n8n Editor UI
- Click on the Import button
- Paste a valid cURL command
- Click Import
- Nothing happens, and no workflow is generated
Expected Behavior
n8n should parse the cURL command and convert it into an HTTP Request node within my workflow.
Information on My n8n Setup
- n8n version: 1.81.4
- Database: PostgreSQL
- n8n EXECUTIONS_PROCESS setting: default
- Running n8n via: npm
- Operating System: Ubuntu 22.04
Example cURL Command
curl --request POST \
--url https://api.cal.com/v2/bookings \
--header 'Content-Type: application/json' \
--header 'cal-api-version: <cal-api-version>' \
--data '{
"start": "2024-08-13T09:00:00Z",
"lengthInMinutes": 30,
"eventTypeId": 123,
"attendee": {
"name": "John Doe",
"email": "[email protected]",
"timeZone": "America/New_York",
"phoneNumber": "+919876543210",
"language": "it"
},
"guests": [
"[email protected]",
"[email protected]"
],
"meetingUrl": "https://example.com/meeting",
"location": "https://example.com/meeting",
"metadata": {
"key": "value"
},
"bookingFieldsResponses": {
"customField": "customValue"
}
Has anyone else encountered this issue? Any suggestions on how to fix or debug it?