Error while importing data from s3 to Aurora Postgres RDS

0

I am using below command to load data from s3 to postgresql database. SELECT aws_s3.table_import_from_s3 ( 'delta.t_etails', '', '(FORMAT csv, HEADER true, DELIMITER '','', QUOTE ''~'', ENCODING ''UTF8'')', aws_commons.create_s3_uri( 'dbkt1-itaaaaa', 'aample_1.csv', 'us-east-1' ) );

Error: ERROR: Unable to validate pre-signed URL. Error: HTTP 404. Requested file does not exist. CONTEXT: SQL function "table_import_from_s3" statement 1

Admin
demandé il y a 10 mois441 vues
1 réponse
0

404 error code is not found.

Ensure file and bucket name is correct and the correct bucket policy is in place too

profile picture
EXPERT
répondu il y a 10 mois
  • What is the bucket policy required? Can you pls share details?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions