petrbroz / aps-powerautomate-connector

Experimental Microsoft Power Automate connector for Autodesk Platform Services.
5 stars 0 forks source link

Error connecting: Access denied #1

Open Lucian-SDEV opened 6 months ago

Lucian-SDEV commented 6 months ago

Hi @petrbroz following the steps you provided, I'm currently stuck with the following error: {"id":"0f88a6d0-c1b9-4816-8de9-e4de8a74e6e2","status":403,"code":"FORBIDDEN_ERROR","detail":["Access denied for the scope urn:adsk.wipemea:fs.folder:co.syITb2-PQ5ajPczAXMLrVQ that you are trying to create hook on"]}

these are the inputs I provided for the custom connector: image

Let me know if you can help me fix this.

KR, Lucian

petrbroz commented 2 weeks ago

Hi @Lucian-SDEV, I totally missed this GitHub issue, sorry about that.

I'm wondering if this is because the webhook OpenAPI spec is not defining the security field. Could you try and add the following piece to the end of data-version-added.yaml (and make sure to keep the whitespace)?

  security:
    - 3-legged:
      - data:read
      - data:write