Error fetching feed: Wrong mime-type. Need application/xml, text/csv, or variant

Hi, I have been able to get this to work in the past and now its not working.

I get this error message when I try to verify the feed

"Error fetching feed:

Wrong mime-type. Need application/xml, text/csv, or variants."

I have change the first line on the php file from text/xml to application/xml but I am still having the same problem

<?php header("content-type: application/xml; charset=utf-8"); ?>
<?php
	$contents = file_get_contents("http://the_url");...

DATA: (modified from http://the_url")
<eeml xmlns='http://www.eeml.org/xsd/005' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.eeml.org/xsd/005 http://www.eeml.org/xsd/005/005.xsd'> 
	<environment> 
		<data id='0'> 
			<tag>Temperature</tag> 
			<value minValue='-20' maxValue='40'>1</value> 
			<unit symbol='C' type='derivedSI'>Celsius</unit> 
		</data> 
		<data id='1'> 
			<tag>Wind Speed</tag> 
			<value minValue='0' maxValue='100'>3</value> 
			<unit symbol='mph' type='derivedSI'>MPH</unit> 
		</data> 
		<data id='2'> 
			<tag>Humidity</tag> 
			<value minValue='0' maxValue='100'>82</value> 
			<unit symbol='%' type='derivedSI'>%</unit> 
		</data> 
		<data id='3'> 
			<tag>Pressure</tag> 
			<value minValue='0' maxValue='2000'></value> 
			<unit symbol='mB' type='derivedSI'>mB</unit> 
		</data> 
		<data id='4'> 
			<tag>Wind Direction</tag> 
			<value minValue='0' maxValue='360'>0</value> 
			<unit symbol='' type='derivedSI'></unit> 
		</data> 
	</environment> 
</eeml> 

Re: Error fetching feed: Wrong mime-type. Need ...

This appears to be related to the issue posted here - we're still looking into it and hope to have a solution shortly.

Re: Error fetching feed: Wrong mime-type. Need ...

Hi there,

this was a problem at our end, which should have been resolved now. Perhaps you can try creating your feed again, and verify that it is able to retrieve the feed as intended.

Apologies for any inconvenience.

Sam

Pachube Support

Re: Error fetching feed: Wrong mime-type. Need ...

Hi, the old one is online now, the new feed should update within 15 mins

Cheers