Errors

Uploads not available from your region

The client IP’s country is on the Upload disabled countries list.

Uploads not available from your region

Uploads are blocked for this visitor’s country. Product text: “Uploads are not available from your region.”

Why this happens

assertIpAllowedForUpload looks up the client IP in GeoIP and compares it to Upload disabled countries (upload_disabled_countries). Unknown/private IPs usually fail open (not blocked). Hits init, parts, complete, remote URL, copy, API, and SFTP paths.

Diagnose and fix

1. Admin → Settings → Files → Upload disabled countries — remove the ISO country code if it should be allowed.

2. Confirm GeoLite2 (or configured GeoIP DB) is installed and current (GEOLITE2_COUNTRY_PATH).

3. Verify the reverse proxy forwards the real client IP (wrong IP → wrong country).

4. Optional: user IP whitelist does not bypass geo by itself — fix the country list or routing.

Related