Denmark DTM provider – "User not authorized" with Datafordeler API key

Forum/General/Data Providers/Denmark DTM provider – "User not authorized" with Datafordeler API key
Updated Sep 13, 2026, 7:12 PM

Level 1 · 1 posts

Topic starter · Sep 13, 2026, 4:19 PM

Hi,

I'm trying to import the Denmark DTM 0.4 m provider for an FS25 project covering Samsø, Denmark.

Task #42882 fails with:
OutsideCoverageError: No tiles were downloaded from the provider.

The task log repeatedly shows:
Failed to download tile (...) User not authorized

The requested and actual provider are both denmark, and I disabled the SRTM fallback for this test.

I have created an active API key for an IT system in Datafordeler Administration. Datafordeler's current FileDownloads v2 documentation states that API-key authentication is supported and shows the key being supplied as the ApiKey query parameter.

In MapToPlay I saved the Datafordeler API key as a Token credential and selected that credential for the Denmark DTM provider.

Could you confirm whether Token is the correct MapToPlay credential type for the Denmark provider, and whether the provider currently supports Datafordeler's FileDownloads v2 API authentication?

Thanks!

Level 15 · 90 posts

Reply · Sep 13, 2026, 7:12 PM

@plambechgamer, hey!

Token is the right credential type for the Denmark provider, so that part is correct.
The catch is which token: Denmark DTM talks to the Dataforsyningen WCS at api.dataforsyningen.dk, not to Datafordeler, so a Datafordeler API key comes back as "User not authorized".

Cheers!
Post a reply