org.jinstagram.exceptions.InstagramBadRequestException: OAuthAccessTokenException: The access_token provided is invalid.

Stack Overflow | We are Borg | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Instagram, Java : Access token provided by Instagram itself is invalid.

    Stack Overflow | 10 months ago | We are Borg
    org.jinstagram.exceptions.InstagramBadRequestException: OAuthAccessTokenException: The access_token provided is invalid.
  2. 0

    Access token is invalid, although recieved from Instagram during authentication.

    GitHub | 10 months ago | kernelfreak
    org.jinstagram.exceptions.InstagramBadRequestException: OAuthAccessTokenException: The access_token provided is invalid.
  3. 0

    Instagram-Collector: Fehlermeldungen aus Sources werden nicht angezeigt

    GitHub | 10 months ago | joachimgo
    org.jinstagram.exceptions.InstagramBadRequestException: APINotAllowedError: you cannot view this resource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 114#141796443

    GitHub | 2 years ago | Ariloum
    org.jinstagram.exceptions.InstagramBadRequestException: APIError: This client ID is not permitted to POST relationships actions.
  6. 0

    GitHub comment 114#143577856

    GitHub | 2 years ago | Ariloum
    org.jinstagram.exceptions.InstagramBadRequestException: OAuthPermissionsException: This request requires scope=relationships, but this access token is not authorized with this scope. The user must re-authorize your application with scope=relationships to be granted write permissions.

Root Cause Analysis

  1. org.jinstagram.exceptions.InstagramBadRequestException

    OAuthAccessTokenException: The access_token provided is invalid.

    at org.jinstagram.entity.common.InstagramErrorResponse.throwException()
  2. org.jinstagram.entity
    InstagramErrorResponse.throwException
    1. org.jinstagram.entity.common.InstagramErrorResponse.throwException(InstagramErrorResponse.java:45)
    1 frame
  3. org.jinstagram
    Instagram.getCurrentUserInfo
    1. org.jinstagram.Instagram.handleInstagramError(Instagram.java:1187)
    2. org.jinstagram.Instagram.createInstagramObject(Instagram.java:1131)
    3. org.jinstagram.Instagram.createInstagramObject(Instagram.java:1150)
    4. org.jinstagram.Instagram.getCurrentUserInfo(Instagram.java:192)
    4 frames
  4. com.journaldev.spring
    HostServiceImpl.pullInstagramMedia
    1. com.journaldev.spring.service.HostServiceImpl.pullInstagramMedia(HostServiceImpl.java:128)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
    3 frames
  7. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
    2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
    3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
    3 frames
  8. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
    2 frames
  9. com.sun.proxy
    $Proxy69.pullInstagramMedia
    1. com.sun.proxy.$Proxy69.pullInstagramMedia(Unknown Source)
    1 frame
  10. com.journaldev.spring
    InstagramController.getInstagramPhotos
    1. com.journaldev.spring.controller.InstagramController.getInstagramPhotos(InstagramController.java:122)
    1 frame