microsoft / microsoft/PowerPlatformConnectors

BadRequest. Http request failed: the content was not a valid JSON

Open
#1,955 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
1.3k
Forks
1.5k
Avg merge
5d 15h
Merged PRs (30d)
11

Description

Type of Connector

Independent Publisher Connector

Name of Connector

VIES (Independent Publisher)

Describe the bug

I am not sure, if this is an issue with the connector or VIES (VAT Information Exchange System) in general.

I get the error below, when I use the connector. However, I also tried using a HTTP request to do the same as the connector, but that throws an internal server error.

image

Is this a security bug?

No, this is not a security bug

What is the severity of this bug?

Severity 1 - Connector is broken or there's a very serious issue

To Reproduce

Create a flow with a manual trigger and the VIES action and add any ISO country code and vat number. Im my case I used:

DK
25490762

However, it is the same for all country codes and VAT numbers.

Expected behavior

A successful run returning

Environment summary

N/A

Additional context

N/A

Contributor guide

No contributing guide indexed for this repository

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 reproducing the VIES action with country code DK and VAT number 25490762, then compare it with the equivalent HTTP request described in the report. Determine whether the invalid JSON and internal server error originate in the connector or VIES; done means the action returns a successful result or the external failure is documented with clear evidence.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.