As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
SJU - INFLIGHT SDQ-JFK. RIGHT DUCT LEAK ILLUMINATED. EMERGENCY DECLARED, LANDED SJU WITHOUT INCIDENT. AIRCRAFT REMOVED FROM SERVICE. REPLACED BROKEN CLAMP ON RIGHT ENGINE THERMAL ANTI-ICE VALVE DUCTING. SYSTEM GROUND CHECK NORMAL OPERATION.