Skip to content

[BUG] Mime Automation connector suddenly throws ResponseSwaggerSchemaValidationFailure #3728

Open
@acieslik

Description

Type of Connector

Independent Publisher Connector

Name of Connector

Mime Automation

Describe the bug

When using the "Extract files from a EML-encoded file" action of the Mime Automation connector it suddenly fails with the follwowing issue...

ResponseSwaggerSchemaValidationFailure. The API 'mimeautomationip' returned an invalid response for workflow operation 'Extract_files_from_a_base64-encoded_EML_file' of type 'OpenApiConnection'. Error details: 'The API operation 'ExtractFilesFromEml' requires the property 'body' to be of type 'Array' but is of type 'String'.'

The action always throws this error, although nothing was changed in the backend. Even in Postman its working as usual.

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

  1. Create a new Power Automate flow.
  2. Use "Manually trigger a flow" trigger
  3. Initialize variable of type string with the following content of this file:
    https://github.com/acieslik/PowerPlatformConnectors/raw/refs/heads/dev/.vscode/bug1
  4. Add Mime Automation => "Extract files from a base64-encoded EML file" action
  5. In the Content property pass in the Initialize variable from above
  6. Run the flow
  7. It will fail.

Expected behavior

The output of the "Extract files from a base64-encoded EML file" action should be as documented here:
https://learn.microsoft.com/en-us/connectors/mimeautomationip/#array-of-mimeattachment
An array with 3 properties, File Name, Mime Type and Content

Environment summary

Run it on any PowerPlatform environment that supports PowerAutomate flow creation and execution

Additional context

The issue appeared suddenly without having changed anything in the API on the backend side.
With Postman we can execute the API successfully.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      [BUG] Mime Automation connector suddenly throws ResponseSwaggerSchemaValidationFailure · Issue #3728 · microsoft/PowerPlatformConnectors