Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No storage available for session. We will not send any data. #3328

Closed
VKZycus opened this issue Feb 6, 2025 · 4 comments
Closed

No storage available for session. We will not send any data. #3328

VKZycus opened this issue Feb 6, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@VKZycus
Copy link

VKZycus commented Feb 6, 2025

Describe the bug

When configuring the Microsoft Teams integration(TABS) with Datadog, the integration fails to send alerts to the designated Teams channel. Instead, the following error message is displayed:

"No storage available for session. We will not send any data."

This issue prevents Datadog from posting data (alerts, notifications, etc.) to the Teams channel, rendering the integration unusable for receiving Datadog alerts. The error implies that Datadog cannot properly store or manage the session data required to send notifications to Teams, possibly due to permissions, network restrictions, or integration misconfiguration.

Expected behavior
in normal browser it works perfectly fine but gives issue in msteams tab app.

@VKZycus VKZycus added the bug Something isn't working label Feb 6, 2025
@cy-moi
Copy link
Contributor

cy-moi commented Feb 6, 2025

Hi @VKZycus ,

Thank you for reaching out!

This might be due to the cookie support in MS Teams Tab environment. Here are some docs on session storage configuration. Could share your SDK version and init configuration so we can have a look?

@VKZycus
Copy link
Author

VKZycus commented Feb 6, 2025

window.DD_RUM.init({
clientToken: dataDogClientToken,
applicationId: dataDogApplicationId,
site: dataDogSite,
service: dataDogService,
env: dataDogEnv,
version: '1.0.0',
sessionSampleRate: 100,
sessionReplaySampleRate: 0,
trackResources: true,
trackLongTasks: true,
trackUserInteractions: true,
enablePrivacyForActionName: false,
allowedTracingUrls: [(url) => true]
});

<script src="https://www.datadoghq-browser-agent.com/us1/v5/datadog-rum.js" type="text/javascript"></script>

we are using cdn sync method.

@cy-moi
Copy link
Contributor

cy-moi commented Feb 12, 2025

Hi @VKZycus ,

Could you try to add sessionPersistence: "local-storage" in the init and see if it works?

@VKZycus
Copy link
Author

VKZycus commented Feb 12, 2025

Hi @cy-moi , It worked. Thanks a lot.
Reason - Msteams restrict cookie of third party apps.storing in local storage works.

@VKZycus VKZycus closed this as completed Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants