I am trying to exclude a file that has -PK in its name in the code below. Auto print from email. File name always is a pdf and has -PK in its name

Summary An Outlook VBA script intended to auto-print email attachments failed to exclude files containing -PK in their names. The issue arose because the script lacked a filename validation check, causing all matching file types (e.g., .pdf) to be printed regardless of their name. Root Cause The script did not include logic to filter filenames … Read more

Appsync Graphql Subscription problem with IAM Authentication

Summary The issue at hand is an Appsync GraphQL Subscription problem with IAM Authentication. The connection to Appsync is established correctly, but when attempting to subscribe, an error occurs due to a mismatch in the request signature. This is a critical issue as it prevents the application from receiving real-time updates. Root Cause The root … Read more

Expecting multiple calls using await to a function that returns a promise to behave synchronously but it doesn’t

Summary This incident stems from a common misunderstanding of how async functions behave inside array iteration methods. The engineer expected await inside forEach to serialize asynchronous calls, but forEach does not await anything. As a result, all asynchronous operations fired concurrently, producing unexpected log ordering. Root Cause The root cause is using await inside Array.forEach, … Read more

DotNetPublish targeting multiple framework

Summary This incident centers on a multi‑target .NET project where a custom build script uses DotNetPublish to generate framework‑specific outputs and then produce a NuGet package. After adding net10.0 to the project’s TargetFrameworks, the build no longer produced a NuGet package. The root cause was a misunderstanding of how NuGet packing works in multi‑target projects … Read more

Are anonymous structures/unions compatible with their “flattened” form in C17?

Summary In C17, anonymous structures and unions are considered members of the containing structure, but their compatibility with a “flattened” form across translation units is ambiguous. This ambiguity leads to potential type mismatches in real systems, especially when linking objects compiled separately. Root Cause C17 lacks explicit rules for type compatibility of anonymous structures/unions across … Read more

Cannot Start mysql.service on ubuntu after restore of files

Summary Restoring MySQL files from a backup on Ubuntu resulted in the mysql.service failing to start. The error logs indicated repeated start failures with an exit-code result, despite correct file ownership (mysql:mysql). Root Cause The restored MySQL files contained inconsistent or outdated database state files, specifically the ibdata1 and ib_logfile* files, which conflicted with the … Read more

AWS Lambda cannot POST json without application/json header in the Request

Summary This incident stemmed from an AWS Lambda function receiving a POST request without a Content-Type: application/json header, causing API Gateway to treat the body as plain text and resulting in a null request body. The Lambda code attempted to deserialize this null body, triggering a Jackson IllegalArgumentException. Root Cause The failure occurred because: API … Read more

Meta Ads Tracking Parameter issue with VPS

Summary A VPS configuration issue caused URL parameters to be stripped from 30% of Facebook Ads traffic, leading to broken conversion attribution and “Unknown” visits in ad trackers (MaxConv, Skro). The problem persisted across Hostinger cloud hosting and VPS setups, indicating a server-side misconfiguration. Root Cause The root cause was Nginx misconfiguration on the VPS, … Read more