Amazon Redshiftコネクタ > 部 III: Amazon Redshiftコネクタを使用したデータ統合 > トラブルシューティング > Amazon Redshift接続のトラブルシューティング
  

Amazon Redshift接続のトラブルシューティング

タスクを実行してAmazon Redshiftにデータを書き込むときに次のエラーが原因でタスクが失敗します。
Amazon_RedshiftWriter_30007 [ERROR] Copy command on record 'public.basic_data_types' failed due to [ERROR: S3ServiceException:The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.,Status 301,Error PermanentRedirect,Rid A8BA401CC765AC53,ExtRid NAbd1uxKirJVjDas1zo3WONdQ/+6p674RYkO
この問題は、Amazon Redshiftユーザーと接続プロパティのクラスタがタスクのS3バケットと異なる領域にあるために発生します。
タスクを設定して同じ領域のS3バケットを接続のユーザーとクラスタとして使用する必要があります。異なる接続を使用してS3バケットに書き込むこともできます。