Skip to content
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
This repository was archived by the owner on Nov 2, 2018. It is now read-only.

Valid access token, but every call throws invalid access token #36

@marsderp

Description

@marsderp

I have been encountering a very weird situation where every call throws an invalid access token exception. I have double-checked the call manually (both with an outgoing sniffer and Postman calls) and it returns expected results.

This has been causing my error log to grow insanely fast. This is the relevant section from the logs:

[2016-05-04 19:08:22] 2020filmproject.ERROR: Larabros\Elogram\Exceptions\OAuthAccessTokenException: The access_token provided is invalid. in /var/www/filmproject/vendor/larabros/elogram/src/Http/Clients/AbstractAdapter.php:69

Stack trace:
#0 /var/www/filmproject/vendor/larabros/elogram/src/Http/Clients/GuzzleAdapter.php(49): Larabros\Elogram\Http\Clients\AbstractAdapter->resolveExceptionClass(Object(GuzzleHttp\Exception\ClientException))
#1 /var/www/filmproject/vendor/larabros/elogram/src/Repositories/UsersRepository.php(53): Larabros\Elogram\Http\Clients\GuzzleAdapter->request('GET', 'users/self/medi...', Array)
#2 /var/www/filmproject/app/Helpers/Gatherer/InstagramGatherer.php(88): Larabros\Elogram\Repositories\UsersRepository->getMedia('self', 50)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions