microsoft / microsoft/PowerPlatformConnectors
[BUG] Http request failed: the content was not a valid JSON
Nobody has claimed this yet.
- 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
In both a Power Automate cloud flow as a Power App, the connector fails with the following error details:
Http request failed: the content was not a valid JSON. Error while parsing JSON: 'Unexpected character encountered while parsing value: O. Path '', line 0, position 0.'
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
- Add the VIES action
- Enter the country code
- Enter the Vat number
- Test the flow
Expected behavior
A JSON body with the result of the VAT validation
Environment summary
Power Page (canvas app) within Dynamics 365 account form
Power Automate cloud flow for testing
Additional context
- We released the solution with the VIES connector through a canvas app this weekend. After the release the users reported errors. Can't tell for sure when it last worked.
- VIES monitoring doesn't report issues
- The cloud flow was created to reproduce errors.
- The error text is similar to #1955.
- Used Postman to create a SOAP-request using the WSDL, which returned a successful/validated JSON result
Contributor guide
No contributing guide indexed for this repository
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 with the VIES connector reproduction in a Power Automate cloud flow, using the country code and VAT number described in the issue. Compare the connector failure with the successful SOAP request made in Postman from the WSDL, and review related issue #1955. Done means the VIES action returns the expected JSON validation result instead of a parsing error.
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
- 20/100