Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Install and getting 405 Error on #470

Open
Dimmers81 opened this issue Jan 19, 2025 · 0 comments
Open

New Install and getting 405 Error on #470

Dimmers81 opened this issue Jan 19, 2025 · 0 comments

Comments

@Dimmers81
Copy link

Just installed Grocy today on HA, and every time I want to add a product under Purchas > Product I get this error below. I have tried troubleshooting and searching forums but to no avail. Happy to supply additional information. Thanks for your help in advance. Really wanting to start using Grocy without the errors happening.

Below is the error that keeps appearing:
Happened again, any additinal insight? {"error_message":"Method not allowed. Must be one of: OPTIONS","error_details":{"stack_trace":"#0 /var/www/grocy/packages/slim/slim/Slim/Middleware/RoutingMiddleware.php(44): Slim\Middleware\RoutingMiddleware->performRouting()\n#1 /var/www/grocy/packages/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\RoutingMiddleware->process()\n#2 /var/www/grocy/packages/slim/slim/Slim/Middleware/ErrorMiddleware.php(77): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()\n#3 /var/www/grocy/packages/slim/slim/Slim/MiddlewareDispatcher.php(129): Slim\Middleware\ErrorMiddleware->process()\n#4 /var/www/grocy/middleware/CorsMiddleware.php(27): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()\n#5 /var/www/grocy/packages/slim/slim/Slim/MiddlewareDispatcher.php(280): Grocy\Middleware\CorsMiddleware->__invoke()\n#6 /var/www/grocy/packages/slim/slim/Slim/MiddlewareDispatcher.php(73): Psr\Http\Server\RequestHandlerInterface@anonymous->handle()\n#7 /var/www/grocy/packages/slim/slim/Slim/App.php(209): Slim\MiddlewareDispatcher->handle()\n#8 /var/www/grocy/packages/slim/slim/Slim/App.php(193): Slim\App->handle()\n#9 /var/www/grocy/app.php(112): Slim\App->run()\n#10 /var/www/grocy/public/index.php(45): require_once('...')\n#11 {main}","file":"/var/www/grocy/packages/slim/slim/Slim/Middleware/RoutingMiddleware.php","line":79}}

Below is my system setup:
Version core-2025.1.2
Installation type Home Assistant OS
Development false
Supervisor true
Docker true
User root
Virtual environment false
Python version 3.13.1
Operating system family Linux
Operating system version 6.6.66-haos
CPU architecture x86_64
Timezone Australia/Sydney
Configuration directory /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.3
Stage running
Available Repositories 1502
Downloaded Repositories 27
Home Assistant Cloud
Logged In true
Subscription expiration 15 March 2025 at 11:00 am
Relayer connected true
Relayer region ap-southeast-1
Remote enabled true
Remote connected true
Alexa enabled false
Google enabled true
cloud_ice_servers_enabled true
Remote server ap-southeast-1-1.ui.nabu.casa
Certificate status ready
Instance ID XXXXX
Reach certificate server ok
Reach authentication server ok
Reach Home Assistant Cloud ok
Home Assistant Supervisor
Host operating system Home Assistant OS 14.1
Update channel stable
Supervisor version supervisor-2024.12.3
Agent version 1.6.0
Docker version 27.2.0
Disk total 117.3 GB
Disk used 17.2 GB
Healthy true
Supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
Board generic-x86-64
Supervisor API ok
Version API ok
Installed add-ons Studio Code Server (5.18.0), Mosquitto broker (6.5.0), Zigbee2MQTT (2.0.0-2), Home Assistant Google Drive Backup (0.112.1), File editor (5.8.0), Samba share (12.4.0), Terminal & SSH (9.16.0), Let's Encrypt (5.2.10), Duck DNS (1.18.0), Grocy (0.23.0)
Dashboards
Dashboards 4
Resources 12
Views 8
Mode storage
Recorder
Oldest run start time 8 January 2025 at 1:52 am
Current run start time 19 January 2025 at 1:09 pm
Estimated database size (MiB) 786.69 MiB
Database engine sqlite
Database version 3.47.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant