Troubleshooting AWS B2B Data Interchange
This section provides solutions to common issues you might encounter when working with AWS B2B Data Interchange.
Output file is not created after the input file is placed into an Amazon S3 bucket
If your output file is not being created after placing an input file into an Amazon S3 bucket, follow these troubleshooting steps:
-
If you have logs enabled, first check AWS B2B Data Interchange service logs in CloudWatch. Specifically, check the default log group
/aws/vendedlogs/b2bi/default
for general errors and profile log group/aws/vendedlogs/b2bi/profile/
for profile and partnership specific errors. If logs contain errors, address them.profile-id
-
Check that the input file is not being misplaced and you are placing it into the correct directory of the Amazon S3 bucket assigned as an input bucket of your trading capability. For inbound use-case the files must be placed in a directory with the
.../
prefix, and for the outbound use-case they must be placed in a directory with thetrading-partner-id
/.../
prefix.trading-capability-id
/trading-partner-id
/ -
Check that the input bucket is configured to emit EventBridge events.
-
Go to the Amazon S3 console and select your bucket.
-
Choose Properties.
-
Scroll down to the Event Notifications section and ensure that Send notifications to Amazon EventBridge for all events in this bucket configuration is set to On.
-
Transformation fails because of S3 bucket access issues
If your transformation is failing due to S3 bucket access issues, follow these troubleshooting steps:
-
Ensure that the S3 bucket policy is configured to allow AWS B2B Data Interchange service to access the S3 bucket. For that follow the documentation steps in Amazon S3 bucket policies and permissions.
-
If you have SSE-KMS or DSSE-KMS encryption enabled on your input or output bucket, ensure that the key policy in AWS KMS is updated. For that follow the documentation steps in Amazon S3 bucket policies and permissions.
-
In case S3 bucket issue arises when directly invoking
StartTransformerJob
ensure that the invoking principal (e.g., user, service role) has permissions to access the bucket. Moreover ensure that the user that is invokingStartTransformerJob
is not theroot
user. -
Make sure you are using AWS B2B Data Interchange service in the same region the S3 bucket is created in.
The output file is successfully created but it cannot be accessed
If your output file is created successfully but cannot be accessed, follow these troubleshooting steps:
-
Ensure that the output S3 bucket does not have ACL enabled.
-
Go to the Amazon S3 console and select your bucket.
-
Choose Permissions.
-
Scroll down to the Object Ownership section and ensure that it says that ACLs are disabled.
-
Attaching sample files fails when creating a transformer in the console under root user
If attaching sample files fails when creating a transformer in the console, follow these troubleshooting steps:
-
Avoid using a root user to configure AWS B2B Data Interchange and specifically attach sample files in console.
-
Instead create a regular IAM user with necessary AWS B2B Data Interchange and Amazon S3 permissions. For that follow the documentation steps in Prerequisites for using AWS B2B Data Interchange.
Getting additional support
If you're unable to resolve an issue using the troubleshooting information in this guide, you can get additional help through the following channels:
-
AWS Support Center
– Create a support case if you have an AWS Support plan. -
AWS Contact Us
– Contact AWS directly for account or billing questions.
When contacting support, be prepared to provide:
-
Your AWS account ID
-
The specific resource IDs involved (profiles, partnerships, etc.)
-
Error messages and timestamps
-
Steps you've already taken to troubleshoot the issue