No route found for the specified format html. Supported formats: csv, json. (Drupal Routing)

Problem:

#drush cr
 [error]  Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException: No route found for the specified format html. Supported formats: csv, json. in Drupal\Core\Routing\RequestFormatRouteFilter->filter() (line 65 of /var/www/core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php).

 

Solution?

Comments

I have a view with a path like /my-content-export to export entivies as JSON or CSV.

I have changed it to /my-content-export.csv and the error is disappeared. But when I try to change to path to /my-content-export.json I get a client error.

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare