Description
Type of Connector
Independent Publisher Connector
Name of Connector
eWay-CRM
Describe the bug
Our connector makes use of x-ms-dynamic-list
swagger properties for dropdown values. However, this doesn't seem to work, even though it did work when we last tested it (before submitting the connector for publish). I'm not sure if there is an issue with our swagger definition or if the issue is caused by something else. When I was testing this issue, it seems that the request for the dynamic list values doesn't reach our API at all, so it seems that the issue occurs somewhere inside Power Automate before the request for the list values is sent to our API. Here is a screenshot of the error inside Power Automate:
Here is the full error message:
The dynamic invocation request failed with error: Unexpected error occurred when calling the ApiHubsRuntime API: 'System.InvalidOperationException: Misused header name. Make sure request headers are used with HttpRequestMessage, response headers with HttpResponseMessage, and content headers with HttpContent objects.
at System.Net.Http.Headers.HttpHeaders.CheckHeaderName(String name)
at System.Net.Http.Headers.HttpHeaders.Add(String name, String value)
at Microsoft.Azure.ProcessSimple.Data.DataProviders.HttpClientDataProvider.<>c__DisplayClass51_1`2.<<CallService>b__0>d.MoveNext() in C:\__w\1\s\src\processsimple\Roles\ProcessSimple.Data.Shared\DataProviders\Services\HttpClientDataProvider.cs:line 583
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.WindowsAzure.ResourceStack.Common.Algorithms.AsyncRetry.<Retry>d__3`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ProcessSimple.Data.DataProviders.HttpClientDataProvider.<CallService>d__51`2.MoveNext() in C:\__w\1\s\src\processsimple\Roles\ProcessSimple.Data.Shared\DataProviders\Services\HttpClientDataProvider.cs:line 530'.
Is this a security bug?
No, this is not a security bug
What is the severity of this bug?
Severity 2 - One or more important connector features are down
To Reproduce
To reproduce, you will need to create a trial account through our website - https://signup-v2.eway-crm.com/
After you have your account ready, got to Power Automate and search for the eWay-CRM connector and log in. Select the Save Company action and search for the TypeEn
parameter. Click on the dropdown menu -> at this point you should see the error.
Expected behavior
The list of values should load without issues.
Environment summary
Install Method - pip 24.0
CLI version - 0.0.20
OS version - Windows 11 Pro - 26100.3476
Shell Type - PowerShell
Additional context
No additional context.