org.jinstagram.exceptions.InstagramBadRequestException

OAuthAccessTokenException: The access_token provided is invalid.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • org.jinstagram.exceptions.InstagramBadRequestException: OAuthAccessTokenException: The access_token provided is invalid. at org.jinstagram.entity.common.InstagramErrorResponse.throwException(InstagramErrorResponse.java:45) at org.jinstagram.Instagram.handleInstagramError(Instagram.java:1187) at org.jinstagram.Instagram.createInstagramObject(Instagram.java:1131) at org.jinstagram.Instagram.createInstagramObject(Instagram.java:1150) at org.jinstagram.Instagram.getCurrentUserInfo(Instagram.java:192) at com.journaldev.spring.service.HostServiceImpl.pullInstagramMedia(HostServiceImpl.java:128) 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy69.pullInstagramMedia(Unknown Source) at com.journaldev.spring.controller.InstagramController.getInstagramPhotos(InstagramController.java:122)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

musketyrmusketyr
2 times, last one