OneBroker API Error
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.
nevermind. fixed the issue.
How did you fix this error?
I cannot find anything about logging in.
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#
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.
I have the exact same error, and I am not using the docker. Anyone figure this out?