microsoft / microsoft/powerbi-powershell

How to get response body in case of error?

Open
#239 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
413
Forks
134
Avg merge
33m
Merged PRs (30d)
1

Description

We would like to display detailed response body json which has meaningful information related to error in case of an error. Right now the out variable has nothing in case of error.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the PowerShell command path that handles failed Power BI API responses and reproduce an error where the out variable is empty. Trace how the error response is captured; done means the meaningful response-body JSON is available to the caller in the error case.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.