Unable to parse the attachment files using the Aria Service Broker
search cancel

Unable to parse the attachment files using the Aria Service Broker

book

Article ID: 380041

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

When you try to parse file passed as in input file: (MimeType) in the Aria Service Broker, you will see the error:

Error : 400 Bad_request :"File Input are not allowed"

Cannot execute action com.test/checkFile: JSON decoding error: Unrecognized token 'File': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false'); nested exception is com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'File': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 6]; (less)

Environment

Aria Automation 8.8 and above

Cause

This is the limitation of the file input component.
File uploads are deactivated when used as o11n action parameters.

Resolution

There is no resolution for that.

One of the workaround was described in the Broadcom Community:  Service broker: cannot parse MimeType in custom forms | VMware Aria