microsoft / microsoft/powerplatform-vscode
pac code add-data-source Request Failed
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 277
- Forks
- 60
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 14
Description
pac code add-data-source -a "apiId" -c "connectionId" returns
Error: Request failed: {}
at e.<anonymous> (C:\Users\userName\AppData\Local\Microsoft\PowerAppsCli\Microsoft.PowerApps.CLI.1.48.2\tools\powerapps-cli.js:2:14093)
at e.<anonymous> (C:\Users\userName\AppData\Local\Microsoft\PowerAppsCli\Microsoft.PowerApps.CLI.1.48.2\tools\powerapps-cli.js:2:7723)
at Generator.<anonymous> (C:\Users\userName\AppData\Local\Microsoft\PowerAppsCli\Microsoft.PowerApps.CLI.1.48.2\tools\powerapps-cli.js:2:10279)
at Generator.throw (C:\Users\userName\AppData\Local\Microsoft\PowerAppsCli\Microsoft.PowerApps.CLI.1.48.2\tools\powerapps-cli.js:2:11195)
at g (C:\Users\userName\AppData\Local\Microsoft\PowerAppsCli\Microsoft.PowerApps.CLI.1.48.2\tools\powerapps-cli.js:2:11338)
at u (C:\Users\userName\AppData\Local\Microsoft\PowerAppsCli\Microsoft.PowerApps.CLI.1.48.2\tools\powerapps-cli.js:2:11577)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
I have already connector of Office365Users in Power Apps Connections
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.
Research direction
Start by reproducing pac code add-data-source -a "apiId" -c "connectionId" with the reported Office365Users connection and inspect the CLI request path associated with the command. Done means identifying the failed request or missing context and providing a fix or a more useful error that explains the failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100