Index not working in resource controller

Hello there. I have an resource controller and for some reason the index path is not working. The other methods are working correctly.
Here is the controller

  //TODO: this isn't working, why?
  async index({request, response, view}) {
        return {message: 'hello'}
  }

  async store({request, response}) {
        return {message: 'hello'}
  }

  async show({params, request, response, view}) {
       return {message: 'hello'}
  }
  
  async update({params, request, response}) {
       return {message: 'hello'}
   }
  async destroy({params, request, response}) {
       return {message: 'hello'}
    }
}

And here is the Route

Route.resource('/tickets', 'Clients/TicketController').apiOnly()
1 Like

Have you changed some configuration in config/bodyParser, especially autoProcess and processManually?

Also what is the request you are doing to hit it?