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
posta 10 mesi fa441 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 10 mesi fa
  • What is the bucket policy required? Can you pls share details?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande