Skip to content

Instagram adapter: whoami works but profile/user/followers/download return HTTP 400 #550

Description

@enterpersia

Environment

  • Windows 10
  • OpenCLI 1.8.6
  • Agent Reach latest
  • Chrome Extension connected
  • opencli doctor: Everything looks good
  • gh authenticated
  • Browser session authenticated with Instagram

Verified

opencli doctor

Result:

Daemon: OK
Extension: OK
Connectivity: OK

Instagram login

opencli instagram whoami

Result:

Logged_in: true
Username: hamidzareii__
Full_name: Hamid Zarei

So the browser session is authenticated successfully.

Working commands

opencli instagram search natgeo

This works correctly and returns search results.

Failing commands

opencli instagram profile natgeo

returns

HTTP 400 - make sure you are logged in to Instagram


opencli instagram user natgeo

returns

HTTP 400 - make sure you are logged in to Instagram


opencli instagram followers natgeo

returns

HTTP 400 - make sure you are logged in to Instagram


opencli instagram download https://www.instagram.com/reel/XXXXXXXX/

returns

Post may be private, unavailable, or inaccessible to the current browser session

even for public reels.

Observation

whoami confirms that the browser session is authenticated.

search works.

Any command that accesses profile/user endpoints fails with HTTP 400 claiming the user is not logged in.

This suggests that the adapter is using a different request/session than the authenticated browser session.

Trace ID

(attach the trace generated by --trace retain-on-failure if needed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions