# Revision history [back]

Not 100% sure this is your problem, but you may need to specify the Accept value in your request. Looking at RestconfService.java you will see that the readConfigurationData has accept headers of application/json, application/xml, text/xml, application/yang.data+json, application/yang.data+xml, which means you need to add one of those to the accept headers.

@GET<br>
@Path("/config/{identifier:.+}")<br>
@Produces({Draft02.MediaTypes.DATA+JSON,Draft02.MediaTypes.DATA+XML, <br>
MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_XML})<br>
public StructuredData readConfigurationData(@Encoded @PathParam("identifier") String identifier);