FriendsOfSymfony / FOSRestBundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

Home Page:http://symfony.com/doc/master/bundles/FOSRestBundle/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NotAcceptableHttpException - No matching accepted Response format could be determined

ma-gu-16 opened this issue · comments

I tried already multiple configs.

my config:

fos_rest: routing_loader: false allowed_methods_listener: true param_fetcher_listener: true body_listener: true exception: serializer_error_renderer: true format_listener: enabled: true rules: - { path: ^/, host: '%domain%', priorities: ['json'], fallback_format: json, prefer_extension: false} - { path: ^/, host: '%frontendDomain%', priorities: ['text/html', 'html', '*/*'], fallback_format: html, prefer_extension: true} view: view_response_listener: true jsonp_handler: ~ body_converter: enabled: true validate: true when@dev: fos_rest: exception: serializer_error_renderer: false
image

Error:
image

i cant figure it who is triggering this error and how to solve it.

thank you for some hints.