Headers are sometimes not being set correctly with New Outlook for Windows
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- api
Research direction
Start by reproducing the consecutive axios.patch calls and the subsequent Microsoft Graph send through New Outlook for Windows, comparing them with the browser version. Check whether the first singleValueExtendedProperty is missing after the sequence; done means establishing a reproducible result and whether the behavior belongs to the SDK, Microsoft Graph, or Outlook.
Written by the indexing model from the issue text.
Description
Our application is an add-in developed in react (typescript) and makes use of the microsoft graph apis to do certain actions.
Our add-in sets three headers (via patch with microsoft graph api) consecutively on a draft email and then sends it (via microsoft graph api) and we saw that sometimes the first one is not being set. (the second and the third are set correctly). On the browser version of Outlook this never occurs, but with New Outlook for Windows it happens pretty regularly.
We get our auth token through MSAL.
axios
.patch(
${microsoftGraphAPIUrl}${messageId},
{
singleValueExtendedProperties: [
{
id: 'String {00020386-0000-0000-C000-000000000046} Name ' + name,
value: value,
},
],
},
{
headers: {
Authorization: 'Bearer ' + authToken,
'Content-Type': 'application/json',
},
},
)
Could this be related to an incompatibility between New Outlook for Windows and Microsoft Graph?
If you need further details please let me know,
- Dominant language
- TypeScript
- Stars
- 833
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoftgraph/msgraph-sdk-javascript
-
status:waiting-for-triage
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
Is anyone here? Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 reaction ·
-
Is it really correct that the Javascript version of the graph SDK doesn't offer typed requests? Openstatus:waiting-for-triage
Difficulty 5/5 Over a week Newbie friendliness 42/100
-
status:waiting-for-triage type:bug
Difficulty 3/5 1-2 days Newbie friendliness 48/100
microsoftgraph/msgraph-sdk-javascript#1999 · 2 comments · 1 reaction ·
-
status:waiting-for-triage type:bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
All issues in microsoftgraph/msgraph-sdk-javascript
Similar issues
-
Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenNSW/nsw-srilanka#497 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
Difficulty 1/5 Under an hour Newbie friendliness 88/100
digidem/comapeo-cloud-app#403 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100