Replies: 1 comment
|
Adding a second data point from a different command in the npm Code Apps CLI. I am seeing the same hostname-construction failure with Command: npx power-apps list-flows --environment-id ccf552bb-xxxx-xxxx-xxxx-ac10490fd326 Error: Network request failed for GET A few details that may help narrow it down:
Versions:
Question: Is |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We have observed
pac code add-data-source constructs malformed API endpoint URL by incorrectly extracting a segment from the environment GUID and inserting it as a subdomain in the URL.
Example:
Both URLs are unreachable/non-existent
This leads to error: getaddrinfo ENOTFOUND
What we explored so far -
pac auth create/list.. etc. commands work in system and returns the correct environment url.
There is no error in pac-log file during execution of pac code add-data-source command
Proxy is configured correctly in system and Node runtime is able to fetch this correctly.
Latest version of pac cli is being used: 2.2.1
Please suggest if there is a fix for this or if this is a known issue.
All reactions