Views:

Applies to Product- Power Automate

What’s happening?

The property types of certain fields in a custom connector are not being read correctly by the system, resulting in errors indicating mismatched types (e.g., "Expected: 'integer', Actual: 'string'").


Reason:
This arises from the handling of property types in the custom connector, particularly with null values in responses. The system does not correctly interpret the specified types, leading to errors when the expected type does not match the actual type returned.


Resolution:

  • Ensure that the property types are correctly defined in the custom connector's configuration.
  • If encountering type errors, consider adding x-nullable: true to the swagger file to prevent the response from breaking due to null values.
  • If the issue persists, recreate the custom connector from scratch and verify the configuration.