You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tool version - github.com/obot-platform/tools:937093c
Steps to reproduce the problem:
Create an agent and add Word tool.
Chat with the agent and ask to create a document.
This results in the following error message presented to the user:
Tool call shows following error:
ERROR: got (exit status 1) while running tool, OUTPUT: 2025/02/19 21:57:21 INFO Creating new Word Document in OneDrive name=mytestdoc.docx
2025/02/19 21:57:21 INFO Used soffice to convert markdown to docx input=/tmp/word-convsource-1562886989.md output=/tmp/word-convsource-1562886989.md.docx
2025/02/19 21:57:21 INFO pandoc/soffice command output stdout="convert /tmp/word-convsource-1562886989.md.html as a Writer/Web document -> /tmp/word-convsource-1562886989.md.docx using filter : Office Open XML Text\n" stderr="javaldx: Could not find a Java Runtime Environment!\nWarning: failed to read path from javaldx\n"
2025/02/19 21:57:22 INFO Getting item by path path=. drive=b!r706qYMgpUmTWY4cxWAlIOqGkBSFo1dGjKWQBNvCIZPbcpy1cYeYTLiIDLv4NMxR url=https://graph.microsoft.com/v1.0/drives/b%21r706qYMgpUmTWY4cxWAlIOqGkBSFo1dGjKWQBNvCIZPbcpy1cYeYTLiIDLv4NMxR/root:/.
failed to ensure folder exists: failed to get item by path ".": The server returned an unexpected status code and no error factory is registered for this code: 400
Tool version - github.com/obot-platform/tools:937093c
Steps to reproduce the problem:
This results in the following error message presented to the user:
Tool call shows following error:
Debug logs - calls - 2025-02-20T034108.606.json
Similar error is also seen when trying to update contents of an existing document.
Debug logs from attempting to update an existing document - calls - 2025-02-20T131702.190.json
Note - Following are the api permissions I have

Expected Behavior:
Should be able to create new docs and update contents of existing docs successfully.
The text was updated successfully, but these errors were encountered: