Urgent.News

What's breaking now, across thousands of outlets.

Tech

Our new API gateway lowercased every header and no partner could place an order

At nine on a Monday in March, every one of our trade partners' systems started getting 400 Bad Request from our order intake API, with the body missing partner id. Over the weekend we had moved the API from an Amazon API Gateway REST API to an HTTP API, which costs less and suited what the API does. Partners identify themselves with an X-Partner-Id header. Our Lambda read it with…

On a Monday in March, trade partners began experiencing issues with our order intake API. The problem arose after we switched the API from Amazon API Gateway REST to an HTTP API. Our Lambda function read the X-Partner-Id header to identify partners, but with the new HTTP API, header names were lowercased. Our code expected the header name to be in the original capitalization, treating all partners as anonymous.

The issue persisted because our tests assumed the header name would be capitalized. Upon rolling back the DNS, orders resumed flowing shortly after. To prevent future issues, we now normalize header names to lowercase at the edge of the API gateway and ensure tests are captured from the real gateway in staging, not written manually.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

YouTube System Design: Upload, Transcoding, CDN & Video Streaming

YouTube System Design: From Video Upload to Global Playback A viewer presses Play. A few seconds later, video is streaming smoothly, even on a changing mobile network.

  • Upload process is resilient for unreliable connections
  • Videos transcoded into multiple formats for devices
  • CDN delivers videos with adaptive quality streaming

Validate a list of 10,000 emails without SMTP for about $10

Before you import a lead list or send a campaign, you want to drop the junk: typos, fake domains, throwaway inboxes. Many verifiers do this by opening SMTP connections to each mail server, which is…

  • Email verification without SMTP costs $0.001 per email
  • Apify actor Email Verifier & Validator performs DNS checks
  • $10 covers verification of 10,000 emails

HisaabMate

How I Built It Architecture Primary Offline Fallback Paste Hinglish notes / Presets / .txt or text PDF Ingest & sanitize in Streamlit Extraction Engine Local Ollama API + gemma3:1b JSON Schema…

  • HisaabMate automates extraction of time logs from Hinglish notes offline.
  • Utilizes Google Gemma 3 model via Ollama for accurate Hinglish parsing.
  • Offers Streamlit UI with privacy-focused features and one-time pricing.

PracticePerfect - Improve your speaking skills locally

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle What I Built I sometimes start speaking before I’ve figured out how to organize what I want to say.

  • PracticePerfect is a local AI-powered speaking practice app
  • Users record responses, receive AI-generated feedback
  • Open-source architecture separates transcription and assessment

More from Monday 19 October →