Skip to content

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

Open
@harunB10

Description

@harunB10

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions