"No route found for the specified format html" with 8.5.1

Created on 29 March 2018, about 6 years ago
Updated 10 January 2024, 6 months ago

I created a simple data export with a path and a couple of fields, and got the following error on Drupal 8.5.1 when navigating to the path:

Symfony\Component\HttpKernel\Exception\NotAcceptableHttpException: No route found for the specified format html. in Drupal\Core\Routing\RequestFormatRouteFilter->filter() (line 55 of C:\Users\Hubert\Documents\Maze Digital\sites\cas\core\lib\Drupal\Core\Routing\RequestFormatRouteFilter.php).

πŸ› Bug report
Status

Needs review

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada hubert_r2

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada ryanrobinson_wlu

    I encountered this error and will add a note here in case anybody else has the same cause as I did.

    I created a new data export display on a view, where the other displays were pages and blocks, using the +Add -> Data Export link. I set up my view including the path with the .csv in the filename, then kept getting the error.

    Then I discovered in Format -> Format -> Settings there is also an option there to set the accepted request format. That also needs to be set to csv.

Production build 0.69.0 2024