postaddictme / instagram-java-scraper

Instagram Java Scraper. Get account information, photos, videos and comments.
446 stars 149 forks source link

instagram.getAccountById() Response code is not equal 200 #131

Closed Actticus closed 2 years ago

Actticus commented 5 years ago

Account acc = instagram.getAccountById(owner);

Response code is not equal 200. Something went wrong. Please report issue.

me.postaddict.instagram.scraper.exception.InstagramException: Response code is not equal 200. Something went wrong. Please report issue. at me.postaddict.instagram.scraper.interceptor.ErrorInterceptor.intercept(ErrorInterceptor.java:31) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187) at me.postaddict.instagram.scraper.interceptor.UserAgentInterceptor.intercept(UserAgentInterceptor.java:27) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:187) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160) at okhttp3.RealCall.execute(RealCall.java:57) at me.postaddict.instagram.scraper.Instagram.executeHttpRequest(Instagram.java:285) at me.postaddict.instagram.scraper.Instagram.getAccountById(Instagram.java:81) at Main.main(Main.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282) at java.lang.Thread.run(Thread.java:748)