Hi,
I have installed the previewers for different filetypes and I am seeing this problem. Some files I can see them correctly, others fail with a screen like this:
![]()
In the logs I can see lines like these:
[#|2026-07-23T08:26:21.417+0000|WARNING|Payara 6.2025.3|edu.harvard.iq.dataverse.util.BundleUtil|_ThreadID=102;_ThreadName=http-thread-pool::jk-connector(1);_TimeMillis=1784795181417;_LevelValue=900;|
Could not find key "externaltools.spreadsheetPreviewer.displayname" in bundle file: |#]
[#|2026-07-23T08:26:21.428+0000|WARNING|Payara 6.2025.3|edu.harvard.iq.dataverse.util.BundleUtil|_ThreadID=102;_ThreadName=http-thread-pool::jk-connector(1);_TimeMillis=1784795181428;_LevelValue=900;|
Could not find key "externaltools.spreadsheetPreviewer.displayname" in bundle file: |#]
[#|2026-07-23T08:27:47.638+0000|WARNING|Payara 6.2025.3|edu.harvard.iq.dataverse.util.BundleUtil|_ThreadID=106;_ThreadName=http-thread-pool::jk-connector(5);_TimeMillis=1784795267638;_LevelValue=900;|
Could not find key "externaltools.textPreviewer.displayname" in bundle file: |#]
I guess something is not correctly installed?
When I try to query the API to see the previewers that are active, the output seems normal:
{
"id": 30,
"displayName": "View Data",
"toolName": "spreadsheetPreviewer",
"description": "View the spreadsheet data.",
"types": [
"preview"
],
"scope": "file",
"toolUrl": "https://gdcc.github.io/dataverse-previewers/previewers/v1.2/SpreadsheetPreview.html",
"toolParameters": {
"queryParameters": [
{
"fileid": "{fileId}"
},
{
"siteUrl": "{siteUrl}"
},
{
"key": "{apiToken}"
},
{
"datasetid": "{datasetId}"
},
{
"datasetversion": "{datasetVersion}"
},
{
"locale": "{localeCode}"
}
]
},
"contentType": "text/csv"
},
Any idea about what could be the problem?
@Carlos Perez-Miguel hi! Can you please open an issue about this at https://github.com/gdcc/dataverse-previewers/issues ?
Finally I have solved it installing the previewers in local. So probably it is something CORS related, even if payara was running with -Ddataverse.cors.origin=https://gdcc.github.io/ which I think it is the correct option.
I guess you could have tried "*" ![]()
In one of the testing iterations I did just that but did not work. I'll see in another clean installation if that solves the problem and if not, I'll fill an issue.
For what it's worth, we keep a copy of the previewers locally and server them from there - that way we can control when the code changes for the previewers, and prevent any CORS related issues.
Even with the previewers working fine, I still have not figured out why we get those log messages:
[2026-07-24T17:52:56.619+0000] [Payara 7.2026.2] [WARNING] [] [edu.harvard.iq.dataverse.util.BundleUtil] [tid: _ThreadID=106 _ThreadName=http-thread-pool::jk-connector(5)] [timeMillis: 1784915576619] [levelValue: 900] [[
Could not find key "externaltools.mapPreviewer.displayname" in bundle file: ]]
I know they don't hurt anything, but I'd love to get rid of the noise.
I realized where those "Could not find key "externaltools.mapPreviewer.displayname" in bundle file" messages come from. They are from the localization system when they don't find a string for the display name of one of the previewers, which is the case because I think Dataverse takes the displayname for the external tools from the information configured when installing the tool, not from the lang bundle files.
@Carlos Perez-Miguel yes, exactly. I moved from messages from this topic to a dedicated topic: #troubleshooting > Could not find key "externaltools.*.displayname" in bundle
Last updated: Aug 18 2026 at 08:27 UTC