ig_business_category_subvertical has been deleted

Author: Sergio1412xdCreated Aug 17, 2026Updated Aug 22, 2026
Labelsbug

Describe the bug When fetching a business/verified profile's information (e.g. via Profile.from_username), the request to web_profile_info fails with a 400 Bad Request. The error indicates a deleted schema asset (ig_business_category_subvertical), which appears to be a field Instagram has recently removed on their side for business accounts. Fetching personal (non-business) profiles works fine.

To Reproduce Steps to reproduce the behavior:

python import instaloader

L = instaloader.Instaloader() L.load_session_from_file("YOUR_USERNAME")

profile = instaloader.Profile.from_username(L.context, "kfc.Colombia")

This fails when the target profile is a business/verified account. The same code works correctly when PERFIL_OBJETIVO/target username is a regular personal account.

Expected behavior Profile.from_username should successfully return the profile object for business accounts, the same as it does for personal accounts.

Error messages and tracebacks

Error obteniendo el perfil: 400 Bad Request - "fail" status, message "Asset asset://laser.provider/ig_business_category_subvertical has been deleted. You cannot use this schema" when accessing https://www.instagram.com/api/v1/users/web_profile_info/?username=kfc.colombia

Instaloader version 4.15.3

Additional context

Reproduced consistently on multiple attempts against the same business account (kfc.colombia). A different, non-business personal account loads successfully with the same script and session. Session was authenticated via cookie import from Chrome (logged-in session), not a fresh CLI login. OS: macOS, Python 3.13.