An engineer describes a geofencing issue where Puerto Rico's ISO 3166 country code (PR) caused video streaming content to be blocked despite it being a US territory. The article highlights that ISO 3166 includes subdivision codes, not just sovereign nations, which caught the team off guard when building geo-restricted media services.
Background
ISO 3166 is an international standard for country and territory codes, maintained by the International Organization for Standardization. It includes Part 1 (country codes), Part 2 (country subdivision codes), and Part 3 (codes for historical countries).
- Source
- Lobsters
- Published
- Aug 31, 2026 at 01:38 PM
- Score
- 5.0 / 10