PdfBundle icon indicating copy to clipboard operation
PdfBundle copied to clipboard

xml parser error when rendering api call from twig template

Open Ghkuijer opened this issue 11 years ago • 0 comments

When I'm rendering an API call from twig template I get the error: An Exception was thrown while handling: Xml parsing error "Input is not proper UTF-8, indicate encoding ! Bytes: 0xE2 0xE3 0xCF 0xD3 "

If using the API Doc there is now problem in making the API call. Code for calling is: {{ render(controller('ShareworksProjectBundle:Items:getItems', {'slug': project.slug, '_format': 'pdf'})) }}

Is there something I'm doing wrong?

thx in advance

Ghkuijer avatar Dec 17 '13 16:12 Ghkuijer