Page 1 of 1

owmwidget blocked due to MIME type (“text/plain”) mismatch

Posted: Friday 20 June 2025 23:34
by Eugene
Hi Guys,

My owm widget stopped working today for some reason.

The widget config I have is:

blocks['weather'] = {
type: 'owmwidget',
city: '3067696',
layout: 19,
width: 12,
}

It never loads and in the browser debug i see the following message:
The resource from “http://api.openweathermap.org/data/2.5/ ... 0451822504” was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff).
if i click the link in the above error message, the resposnse I see in the browser appears to be correct
jQuery34108402783355448467_1750461520953({"coord":{"lon":14.4208,"lat":50.088},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"base":"stations","main":{"temp":13.97,"feels_like":13.17,"temp_min":12.2,"temp_max":14.86,"pressure":1025,"humidity":67,"sea_level":1025,"grnd_level":991},"visibility":10000,"wind":{"speed":0.89,"deg":250},"clouds":{"all":0},"dt":1750461903,"sys":{"type":2,"id":2020173,"country":"CZ","sunrise":1750474353,"sunset":1750533337},"timezone":7200,"id":3067696,"name":"Prague","cod":200})
once i switch block config to type "weather", everything loads fine with the same API key, but i would like to get my widget back if possible.

any idea what is going wrong with my setup? i am on dashticz 3.14

thanks

Re: owmwidget blocked due to MIME type (“text/plain”) mismatch

Posted: Monday 23 June 2025 15:43
by Eugene
I did not manage to resolve the owm widget issue i have but I managed to switch to MeteoTrend.com widgets and i like new look even more on Dashticz than owm widgets :)
meteotrend.png
meteotrend.png (125.26 KiB) Viewed 1829 times