This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Extensions » REST API - 500 error - No routes are...

REST API - 500 error - No routes are defined in the router

REST API - 500 error - No routes are defined in the router

Tuesday 10 September 2013 3:43:57 pm - 1 reply

Hi guys!

I have an "multiple image editing"- extension with an ApiProvider that doesn't work. When I try to use it with it gives me 500 (Internal Server Error) on both POST and GET methods. And my error log says: "Unexpected error, the message was : No routes are defined in the router. in /XXX/XXX/XXX/XXX/lib/ezc/MvcTools/src/router.php on line 78".

When i try the Ezprestapiprovider extension ( it works with so I don't think it has anything to do with the virtualhost setup and rewrite rules. But I'm wondering if it is the [RouteSettings] -> SkipFilter[] I'm doing wrong. 

This is my rest.ini.append.php file in the my extension:



Can someone point me in the right direction?

Modified on Tuesday 10 September 2013 3:49:10 pm by Jeanette S.

Wednesday 11 September 2013 1:03:35 pm

For anyone experiencing the same, try updating the autoload array...  It works for me now.. Stupid mistake!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from