microsoft / microsoft/powerbi-powershell

Include the API error detail on Resolve-PowerBIError

Open
#351 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When an API fails with 400 BadRequest the body includes very valuable details to understand the error that should be returned on the exception.
Ex:
image

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 Resolve-PowerBIError command or entry point and reproduce a 400 BadRequest response with an error body. Done means the resulting exception exposes the valuable API error details shown in the issue, rather than only the generic failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.