Comments (13)
@bogdanst24 Thanks for the clarification. It has been put on our backlog. We, unfortunately, have no timelines to share at this point.
Internal tracking id: Eg: Office: 4707994
from office-js.
@bogdanst24 We are unable to reproduce the issue. Could you please provide a manifest and a video of the issue so we can investigate it more effectively?
from office-js.
Probably important to emphasize that it was working for a long time without issues.
I can reproduce it with this very basic add-in:
void Office.onReady(() => {});
Office.actions.associate(
'onMessageComposeHandler',
(event: Office.AddinCommands.Event) =>
void onMessageComposeHandler(event),
);
export function onMessageComposeHandler(
event: Office.AddinCommands.Event,
contextParameters: WebAddInContextParameters,
) {
Office.context.mailbox.item?.loadCustomPropertiesAsync((result) => {
if (result.status === Office.AsyncResultStatus.Failed) {
console.log('ERROR', result.error);
}
const allValues = result.value.get('test');
console.log('allValues', allValues);
result.value.set('test', 'testValue');
result.value.saveAsync((result) => {
console.log('saveAsync', result);
});
});
}
Relevant part in the manifest:
<ExtensionPoint xsi:type="LaunchEvent">
<LaunchEvents>
<LaunchEvent Type="OnNewMessageCompose" FunctionName="onMessageComposeHandler" />
....
</LaunchEvents>
</ExtensionPoint>
I can send the full manifest via email, but I find it useless as you won't be test with it.
Later edit:
I can reproduce it also by using the simple code from the Script Lab (moving it into an event based one)
from office-js.
Again, I can only reproduce it in the New Outlook for Windows.
from office-js.
@bogdanst24 Based on the details that you have provided, we are still unable to repro the issue. Could you please share your manifest and a video of the issue to understand the issue better?
from office-js.
Could you please share an email address I can send to?
from office-js.
@bogdanst24 Please host your manifest in a private repo, and grant access to me!
from office-js.
Done. You won't be able to log in, but that shouldn't matter as the issue is reproducible before that. Triggering a new email is enough. You should be able to see 3 Post requests ending up with 400 status code
from office-js.
@bogdanst24 We have been able to reproduce the issue. To better understand the problem, could you please confirm if subsequent requests after logging in or saving custom properties again are successful as this seems to be an auth problem.
from office-js.
To better understand the problem, could you please confirm if subsequent requests after logging in or saving custom properties again are successful
Yes, exactly. What you are seeing now being logged, are some operations we introduced as a workaround. Exactly because, as described also in the title of the issue, only the first one seems to fail. Or, it might be all operations for the first x seconds.
this seems to be an auth problem.
No specific authentication is performed. I think we have been seeing this error in our logs for a long time for some customers (~20%), but we were never able to reproduce it. Now, since 2-3 weeks ago, it is affecting everyone.
from office-js.
Hi.
We have been going over the same issue for the last days.
Is there any workaround we could implement to tackle the issue while it is in progress?
In our case, we have an event based add-in. We set the value of a custom property when the user clicks on a command buttom. This property is used later to implement the logic when the message is sent.
Thanks.
from office-js.
We're doing a mock set and save right at the beginning. We've seen that this forces it to work in some cases, but not all. The problem is still happening and from what I can see on the logs, it got worse.
from office-js.
Thanks @bogdanst24. We've implemented a retry mechanism with a one second delay between calls. Apparently it seems to work but let's see in the upcoming days.
from office-js.
Related Issues (20)
- body.clear() not working for content controls HOT 3
- How to make slide active Or How to insert image using index HOT 4
- Addin sample not showing in new look outlook and browsers. HOT 5
- Identifying Usage of New Outlook in Office-js Add-ins HOT 1
- Not able to sideload outlook addin. in macbook there is no option to add the manifest file HOT 5
- Inserting Signature with the OnMessageSend event duplicates the signature
- The identity API is not supported for this add-in in online Word HOT 2
- Excel Online: calculation state can get stuck in Pending state when workbook contains charts HOT 3
- IP Address Range Needed for Microsoft Office Add-in Validation Process
- Office API messageParent Outlook on android doesn't work
- NAA: Unable to acquire access token for event-based activation (onMessageSend) HOT 2
- Outlook addin using Bootstrap modal or offcanvas bleeds through on Mac version of Outlook. Classic and New Outlook for Mac. HOT 2
- [Word API] Document.compare: ability to specify Original and Revised document?
- Outlook NAA issue: "Something went wrong. [7q6cl]" Error HOT 5
- Web Outlook provides improper attachment data if attachment is still uploading to the email HOT 2
- [Question] Is it safe to use `CustomFunctions.delayinitialization()`
- New Outlook - emails stuck in outlook at queued or draft status HOT 3
- context.application.createDocument works only first time HOT 1
- WorkBook level Define name is getting corrupted while reopening excel using base64
- In Outlook, getAllInternetHeadersAsync works on an item in the Inbox, but not the sent folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.