Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xml parser error when rendering api call from twig template #46

Open
Ghkuijer opened this issue Dec 17, 2013 · 0 comments
Open

xml parser error when rendering api call from twig template #46

Ghkuijer opened this issue Dec 17, 2013 · 0 comments

Comments

@Ghkuijer
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant