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

Photos taken by camera are not accessible to the bot #6684

Open
harunB10 opened this issue Feb 25, 2025 · 0 comments
Open

Photos taken by camera are not accessible to the bot #6684

harunB10 opened this issue Feb 25, 2025 · 0 comments
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@harunB10
Copy link

I have created a Bot and I'm using it as App in Teams. Everything works with sending and receiving messages. But, when it comes to attachmenets there is one thing that is not clear why is it happening.
If I upload a picture using desktop Teams app then it works. Same with uploading the photo using mobile device (but as attachment). However, if I take a photo via camera directly then I always get:

Invalid status 403 code for 'https://smba.trafficmanager.net/de/0f6e1649-5b36-450e-95e3-ef5439e40b1f/v3/attachments/0-nde-d3-d1777d3ef5231f56fc64d6d9ebaa27e/views/original': {"error":{"code":"BotError","message":"Access Forbidden"}}

In my manifest.json I have included

supportsFiles: true

and added:

devicePremissions: ['media']

But still same scenario is happening.

@harunB10 harunB10 added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant