Intermittent 404s on images uploaded with API



We uploaded an image using the REST API:

The image works from some locations, but not from others. So my colleague in DC sees it fine with this header:

X-Served-By: mtc-tw-iad2-2-TWIAD2

but here in New York I get a 404:

X-Served-By: cache-tw-nyc1-cr1-20-TWNYC1


My colleague in DC says it’s alternating for him between a 200 and a 404. Here are all the headers I’m seeing from New York:

$ curl -I
HTTP/1.1 404 Not Found
Date: Fri, 09 Oct 2015 18:01:46 GMT
Server: tsa_b
cache-control: max-age=10, must-revalidate
content-security-policy: default-src 'none'; img-src; script-src about:; style-src 'unsafe-inline'; font-src; connect-src 'none'; object-src 'none'; media-src 'none'; frame-src 'none'; report-uri
x-connection-hash: 1097495ff47a4b9d91b32924f0af209e
x-response-time: 10
x-xss-protection: 1; mode=block
Content-Type: image/png
Content-Length: 4458
Accept-Ranges: bytes
Via: 1.1 varnish
Age: 0
X-Served-By: cache-tw-nyc1-cr1-11-TWNYC1
X-Cache: MISS
X-Cache-Hits: 0
Vary: Origin,Accept-Encoding
Expires: Sat, 24 Oct 2015 18:01:46 GMT
X-Content-Type-Options: nosniff


One more detail that might be relevant: we first published the containing tweet while the account was private, then took the account public after that.