Node.js & n8n: Fix Data Parsing & Exception Handling in Integration

Posted 2 hours ago

Worldwide

Summary

We have an n8n workflow pulling data from a third-party API and sending it to our custom Node.js backend for processing before inserting into a Postgres database. The third-party API occasionally returns malformed JSON (specifically, an EOF error). Currently, our Node.js script is failing silently. Instead of catching the error, it bubbles up and crashes the entire n8n execution thread mid-workflow. Scope of Work (Expected time: ~1 hour): - Wrap the JSON parsing and database insertion steps in proper try/catch blocks. - Add logging so we can see the broken payload in the console. - Make sure the script gracefully skips bad records and allows the rest of the workflow to continue running without crashing. - Quick verification that the fix works. Timeline: Must be completed within 24 hours. How to Apply: Please do not send a generic proposal. In your first sentence, simply explain how you would handle this silent crash in a Node.js async function to prevent the thread from dying. Looking forward to a quick fix!

  • $15.00

    Fixed-price
  • Intermediate
    Experience Level
  • Remote Job
  • One-time project
    Project Type
Skills and Expertise
Mandatory skills
API Development
Node.js
Activity on this job
  • Proposals:20 to 50
  • Last viewed by client:57 minutes ago
  • Hires:
    1
  • Interviewing:
    0
  • Invites sent:
    0
  • Unanswered invites:
    0
About the client
Member since Apr 11, 2024
  • United States
    Cergy-Pontoise10:25 PM
  • $7.3K total spent
    284 hires, 11 active
  • 32 hours

Explore similar jobs on Upwork

Internet Radio Metadata Expert NeededFixed-price‐ Posted 1 month ago
PHP
REST API
API Integration
SHOUTcast
Node.js

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo