bowhead icon indicating copy to clipboard operation
bowhead copied to clipboard

OneBroker API Error

Open jeremiahtenbrink opened this issue 8 years ago • 5 comments

ok, so how do I get around this one. I have installed bowhead on my headless ubuntu server. I'm trying to set up the sample config and I keep getting this error.

OneBroker API returned an error - 201: Invalid token. You are not logged in.

I am logged in from another computer. I'm not sure how to go about logging in from the headless server. Any assistance would be helpfully and much appreciated.

jeremiahtenbrink avatar Jul 29 '17 22:07 jeremiahtenbrink

nevermind. fixed the issue.

jeremiahtenbrink avatar Jul 29 '17 23:07 jeremiahtenbrink

How did you fix this error?

I cannot find anything about logging in.

danielbjornadal avatar Aug 05 '17 13:08 danielbjornadal

Same here. Any ideas?

Exception trace: () at /var/www/bowhead/app/Util/OneBroker.php:158 Bowhead\Util\OneBroker->getApiData() at /var/www/bowhead/app/Util/OneBroker.php:186 Bowhead\Util\OneBroker->getCategories() at /var/www/bowhead/app/Util/OneBroker.php:52 Bowhead\Util\OneBroker->__construct() at /var/www/bowhead/app/Console/Commands/ExampleUsageCommand.php:68 Bowhead\Console\Commands\ExampleUsageCommand->handle() at n/a:n/a call_user_func_array() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 Illuminate\Container\BoundMethod::Illuminate\Container{closure}() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 Illuminate\Container\BoundMethod::callBoundMethod() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 Illuminate\Container\BoundMethod::call() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Container/Container.php:539 Illuminate\Container\Container->call() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Console/Command.php:182 Illuminate\Console\Command->execute() at /var/www/bowhead/vendor/symfony/console/Command/Command.php:264 Symfony\Component\Console\Command\Command->run() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Console/Command.php:167 Illuminate\Console\Command->run() at /var/www/bowhead/vendor/symfony/console/Application.php:888 Symfony\Component\Console\Application->doRunCommand() at /var/www/bowhead/vendor/symfony/console/Application.php:224 Symfony\Component\Console\Application->doRun() at /var/www/bowhead/vendor/symfony/console/Application.php:125 Symfony\Component\Console\Application->run() at /var/www/bowhead/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:122 Illuminate\Foundation\Console\Kernel->handle() at /var/www/bowhead/artisan:35

root@7f609b29cacf:/var/www/bowhead#

gxyzod avatar Sep 01 '17 16:09 gxyzod

If this is an issue for anybody, keep in mind to always deploy the changes to the docker container (e.g. using the script ./copy_to_docker in the root application dir). This concerns also the configuration .env file.

mirupal avatar Oct 14 '17 17:10 mirupal

I have the exact same error, and I am not using the docker. Anyone figure this out?

MooreSys avatar Dec 14 '17 12:12 MooreSys