When I try to edit an excel file (xlsx) I get an error as presented below (though a bit altered to remove user information).
info: adc:ServerFacade 2023-07-31T13:01:37.905Z {"birdy":{"method":"GET","hostname":"CONFLUENCESERVER","path":"/rest/token-auth/api/previews/templinksresource/companion/attachment?attachmentId=ATTACHMENTID&jwt=JWT","statusCode":200,"duration":497}}
error: adc:ServerFacade 2023-07-31T13:01:37.907Z Could not get temp link information:
error: adc:ServerFacade 2023-07-31T13:01:37.907Z SyntaxError: Unexpected token < in JSON at position 4
at JSON.parse (<anonymous>)
at Function.json (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:2:26803)
at x.awaitJson (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:2:23677)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async t.default.getTempLinkMetadata (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1776186)
at async g.retrieveTempLinkData (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1775111)
at async g.handleProtocol (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1772329)
error: adc:ServerFacade 2023-07-31T13:01:37.908Z SyntaxError: Unexpected token < in JSON at position 4
at JSON.parse (<anonymous>)
at Function.json (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:2:26803)
at x.awaitJson (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:2:23677)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async t.default.getTempLinkMetadata (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1776186)
at async g.retrieveTempLinkData (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1775111)
at async g.handleProtocol (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1772329)
info: adc:ErrorHandler - 2023-07-31T13:01:37.908Z Unable to JSON parse and extract response error responseText: undefined
error: adc:ProtocolHandler 2023-07-31T13:01:37.909Z Error parsing protocol link
error: adc:ProtocolHandler 2023-07-31T13:01:37.909Z SyntaxError: Unexpected token < in JSON at position 4
at JSON.parse (<anonymous>)
at Function.json (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:2:26803)
at x.awaitJson (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:2:23677)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async t.default.getTempLinkMetadata (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1776186)
at async g.retrieveTempLinkData (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1775111)
at async g.handleProtocol (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1772329)
error: adc:ProtocolHandler 2023-07-31T13:01:37.910Z SyntaxError: Unexpected token < in JSON at position 4
at JSON.parse (<anonymous>)
at Function.json (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:2:26803)
at x.awaitJson (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:2:23677)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async t.default.getTempLinkMetadata (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1776186)
at async g.retrieveTempLinkData (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1775111)
at async g.handleProtocol (C:\Users\USERNAME\AppData\Local\atlassian-desktop-companion\app-1.4.5\resources\app.asar\.webpack\main\index.js:8:1772329)
How can I debug this further? I have set the logging level to DEBUG in companionConfig.json
The Confluence server is Confluence 7.19.5
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.