@BasUser110 a mask is not a data type, but a url mask. The url does not have to contain a file extension. You need to look at which queries load this data and write a mask for them.
If anyone has this problem add a HTTP client reset at the beginning of your script. HTTP client seems to get clogged at a certain point. Issue resolved.