Subject: Issue with Transfer Between AWS S3 Buckets: Missing 'bucketName' and 'region' Attributes #223
Unanswered
yassirahla
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi, Thank you in advance. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello EDC Connector Community,
I'm currently working on the sample transfer-05-file-transfer-cloud to transfer a file from one AWS S3 bucket to another. However, I'm encountering an error on the consumer side:
Fatal error while sending TransferRequestMessage to http://localhost:8282/protocol. Error details: {"@type":"dspace:TransferError","dspace:code":"400","dspace:reason":["'bucketName' is a mandatory attribute","'region' is a mandatory attribute"]}
The logs indicate that 'bucketName' and 'region' are mandatory attributes, which I have ensured to include in my setup. Despite this, the error persists. Here's an outline of the steps I've followed for the file transfer process:
On the Provider Side
Asset Creation: Successfully created an asset with an AmazonS3 dataAddress, including both bucketName and region.
Policy Definition Creation: Defined an access policy without issues.
Contract Definition Creation: Successfully created a contract definition that selects the asset.
On the Consumer Side:
Catalog Request: I made a catalog request to retrieve the catalog without any issue.
Contract Negotiation: Initiated and completed contract negotiation successfully.
Contract Agreement Retrieval: Retrieved the contract agreement ID without any issue.
Data Transfer: At this stage, attempting to initiate the data transfer results in the mentioned error, even though I specify the bucketName and region in the dataDestination.
I've double-checked my configurations and ensured that all required attributes are correctly provided. Here's a snippet of the transfer initiation request:
Am I missing something in my configuration or is there a known issue related to this scenario? Any suggestions would be greatly appreciated.
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions