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
feita há 10 meses442 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 10 meses
  • What is the bucket policy required? Can you pls share details?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas