Engine id '1' is not supported

Hi all

It seems like I have done a API call which had a big bad impact…

http://my-emonpi.ip/feed/create.json?tag=Test&name=Power&datatype=1&engine=1&options={“interval”:10}](http://192.168.1.47/feed/create.json?tag=Test&name=Power&datatype=1&engine=5&options={“interval”:10})

The problem is the “engine=1”, which has been typed accidantly…

Now all inputs and all feeds are not shown in the setup page anymore. And if I want to delete the unsupported feed via API i get the message:

" Fatal error : Uncaught Exception: ABORTED: Engine id ‘1’ is not supported. in /var/www/emoncms/Modules/feed/feed_model.php:88 Stack trace: #0 /var/www/emoncms/Modules/feed/feed_model.php(547): Feed->EngineClass(‘1’) #1 /var/www/emoncms/Modules/feed/feed_model.php(483): Feed->get_timevalue(56) #2 /var/www/emoncms/Modules/feed/feed_controller.php(180): Feed->get(56) #3 /var/www/emoncms/core.php(63): feed_controller() #4 /var/www/emoncms/index.php(240): controller(‘feed’) #5 {main} thrown in /var/www/emoncms/Modules/feed/feed_model.php on line 88

The emoncms log on the Admin page shows a lot of entries:
2021-01-31 21:28:38.536|ERROR|feed_model.php|EngineClass() Engine id ‘1’ is not supported.

How can I get rid of this feed??

Thank you for your support and best regards
Marcel

Resolved! I took a backup, removed the item of the buggy feed in the emoncms.sql file and re-imported the backup.

1 Like