microsoft / microsoft/PowerBI-visuals-tools
Unable to Initiate API Calls to Backend Services
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 435
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I’m trying to make API calls to communicate with a backend service. However, I always get an error saying that the request is blocked due to CORS policy as the origin of the request is null.
Is there any solution to this issue from the custom visual’s side? As I can’t modify the backend service to allow null origin due to the security risks.
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
The issue concerns API calls from a custom visual to backend services and reports that requests are blocked because the origin is null. Start by reviewing how custom visuals initiate requests and the project’s handling of CORS-related constraints; the work is done when a supported tool-side solution is identified or the limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100