{"event": {"version": "1.0", "resource": "$default", "path": "/sitemap.xml", "httpMethod": "GET", "headers": {"Content-Length": "0", "Host": "api.digi-tos-db.org", "User-Agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "X-Amzn-Trace-Id": "Root=1-6ac1bd10-1ac7cc33696765380bbf7833", "X-Forwarded-For": "216.73.216.245", "X-Forwarded-Port": "443", "X-Forwarded-Proto": "https", "accept": "*/*", "accept-encoding": "gzip, br, zstd, deflate"}, "multiValueHeaders": {"Content-Length": ["0"], "Host": ["api.digi-tos-db.org"], "User-Agent": ["Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"], "X-Amzn-Trace-Id": ["Root=1-6ac1bd10-1ac7cc33696765380bbf7833"], "X-Forwarded-For": ["216.73.216.245"], "X-Forwarded-Port": ["443"], "X-Forwarded-Proto": ["https"], "accept": ["*/*"], "accept-encoding": ["gzip, br, zstd, deflate"]}, "queryStringParameters": null, "multiValueQueryStringParameters": null, "requestContext": {"accountId": "310427235777", "apiId": "7sswu02v5k", "domainName": "api.digi-tos-db.org", "domainPrefix": "api", "extendedRequestId": "Esp6oihaPHcEQUQ=", "httpMethod": "GET", "identity": {"accessKey": null, "accountId": null, "caller": null, "cognitoAmr": null, "cognitoAuthenticationProvider": null, "cognitoAuthenticationType": null, "cognitoIdentityId": null, "cognitoIdentityPoolId": null, "principalOrgId": null, "sourceIp": "216.73.216.245", "user": null, "userAgent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "userArn": null}, "path": "/sitemap.xml", "protocol": "HTTP/1.1", "requestId": "Esp6oihaPHcEQUQ=", "requestTime": "04/Oct/2026:02:42:24 +0000", "requestTimeEpoch": 1791081744307, "resourceId": "$default", "resourcePath": "$default", "stage": "$default"}, "pathParameters": null, "stageVariables": null, "body": null, "isBase64Encoded": false}, "exception": ["Traceback (most recent call last):\n", " File \"/var/task/lambda_function.py\", line 65, in lambda_handler\n if qs['type'] == \"sys\":\n ~~^^^^^^^^\n", "TypeError: 'NoneType' object is not subscriptable\n"]}