Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

current user get logged out and I have to delete state.bin every time to re-login. #587

Open
8 of 24 tasks
georgmethner opened this issue Apr 4, 2023 · 1 comment
Open
8 of 24 tasks

Comments

@georgmethner
Copy link

I've:

Issue category

  • Bug
  • Feature Request
  • Missing Feature
  • Question
  • Not sure

Language

  • C#
  • VB.NET

Usage

  • Windows Form/Console app
  • WPF app
  • Asp .NET MVC
  • Asp .NET Core
  • Universal Windows Platform [UWP]
  • Xamarin or Xamarin Forms
  • Mono
  • Other

Operating System

  • Windows
  • Windows Server
  • Linux
  • Mac OS
  • Other

Debug logs

If your issue has an debug log, post it here, unless remove this section!

04.04.2023 14:02:22:	Response: GET https://i.instagram.com/api/v1/accounts/current_user/?edit=true [Forbidden]
04.04.2023 14:02:22:	Content:
04.04.2023 14:02:22:	{"message":"login_required","error_title":"You've Been Logged Out","error_body":"Please log back in.","logout_reason":8,"status":"fail"}
Exception thrown: 'System.NullReferenceException' in InstagramTest.exe
InstagramApiSharp.Classes.IResult<T>.Value.**get** returned null.

Describe your issue

Almost everytime I start my program I am getting a NullReferenceException. I always have to delete the state.bin and then I always have to re-login with the 6-digit code.

I am using the challenge form example.

Screenshots

If you have screenshots, you can post it here. unless remove this section!

@ribthegreat99OrN0P
Copy link

ribthegreat99OrN0P commented Jun 12, 2024

Having the same issue, pretty sure it has something todo within loading session states. Hopefully it gets fixed soon.
@ramtinak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants