Troubleshooting

The following troubleshooting tips might help you to resolve issues with this Micro-Integration. If problems persist, contact Solace.

Startup Fails: Missing Required Parameters

If the workflow fails to start:

  • As a target, verify that you configured destination, region, and accessKey.

  • As a source, verify that you configured destination, accessKey, secretKey, and region.

Startup Fails: Bucket Not Found

If the Micro-Integration logs a NoSuchBucket error or a similar "bucket does not exist" message when starting:

  • As a target, verify that the bucket specified in destination exists in the configured region, or set autoCreateBucket to true so the target bucket is created automatically.

  • As a source, verify that the bucket name portion of destination refers to a bucket that exists.

  • Confirm that the configured region matches the region the bucket was created in. AWS S3 bucket lookups fail if the region doesn't match, even if the bucket name is correct.

403 Forbidden: Insufficient IAM Permissions

If messages are routed to the dead message queue (DMQ) with an AccessDenied error, or the logs show a 403 Forbidden response from AWS S3:

  • As a target, verify that the IAM identity for accessKey has s3:PutObject permission on the target bucket (and s3:CreateBucket if autoCreateBucket is enabled).

  • As a source, verify that the IAM identity has s3:GetObject and s3:ListBucket permission on the source bucket.

  • Check that accessKey and secretKey haven't been rotated or revoked in AWS IAM.

  • Confirm that no bucket policy or Service Control Policy (SCP) on the AWS account explicitly denies the action.

Connection Refused: Event Broker Unreachable

If the Micro-Integration logs a connection refused error, or cannot establish a session with the event broker:

  • Verify that solace.java.host specifies the correct scheme, hostname, and port for your event broker, for example tcp://localhost:55555.

  • Verify that solace.java.msg-vpn, solace.java.client-username, and solace.java.client-password are correct and correspond to an active client profile on the event broker.

  • Confirm that outbound network access from the Micro-Integration host to the event broker's messaging port is not blocked by a firewall or proxy.

  • Confirm that the event broker is running and that the Message VPN is not shut down. For more information, see Step 1: Connecting to Your Event Broker .

Parquet Schema Mismatch

If messages are rejected and then redelivered or moved to the DMQ when fileFormat is set to PARQUET:

  • If you configured avroSchemaFile, verify that the message payload contains all fields required by the schema, and that each field's type (for example, string versus integer) matches the schema definition. The Micro-Integration does not coerce mismatched types.

  • Verify that field names in the message payload match the schema's field names exactly, including case.

  • If you did not configure avroSchemaFile, the payload must be valid JSON. The Micro-Integration stores it unmodified as a string in a data field.

Inspecting Failed Messages in the DMQ

If workflow DMQ is enabled and messages are being routed there, you can browse the DMQ directly on the event broker to inspect the failed message payload and standard message properties (such as delivery count). For more information, see Viewing Guaranteed Messaging Data Using Broker Manager.

For general information about when messages are routed to the DMQ and how retry interacts with it, see Step 5: Error Handling.

File Format Issues

If files written by the target are not in the expected format, or aggregated files are flushed more or less often than expected:

  • Verify that fileFormat and its related options are configured correctly.

  • Review the maxRecords, maxSizeBytes, and timeoutMs settings.

Error Output and Logging

Review the application logs for AWS SDK exceptions, such as AccessDenied, NoSuchBucket, or authentication errors.