Logo

dev-resources.site

for different kinds of informations.

DMS error - Failed to get the capture list from the endpoint

Published at
5/29/2024
Categories
dms
aws
Author
hvmathan
Categories
2 categories in total
dms
open
aws
open
Author
8 person written this
hvmathan
open
DMS error - Failed to get the capture list from the endpoint

While trying to perform replication from source to target using DMS, you may encounter the following error:

Failed to get the capture list from the endpoint. Stop Reason FATAL_ERROR Error Level FATAL

Below are the steps to troubleshoot this issue. Let me know if you face any challenges. I'm happy to help.

In my scenario, my source is SQL Server and the target is S3.

Pre-Checks

Check if both the source and target are in the same VPC. If not, create a VPC Peering.

Ensure proper IAM roles are set for the target S3 bucket.

The above options are usually set properly. If you are still facing the error, please check the solution below that worked for me.

Solution

DMS prefers to use dms_user to connect to the database. If you are using any other user ID (albeit the endpoint is successful), please create a new one with the dms_user credentials.

Below are the steps for creating the user:

`USE db_name;

CREATE USER dms_user FOR LOGIN dms_user; 
ALTER ROLE [db_datareader] ADD MEMBER dms_user; 
GRANT VIEW DATABASE STATE TO dms_user;

USE master;

GRANT VIEW SERVER STATE TO dms_user;`
Enter fullscreen mode Exit fullscreen mode

This solution should work! Good luck.

Reference Docs :

https://docs.aws.amazon.com/dms/latest/userguide/CHAP_VPC_Endpoints.html

https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.SQLServer.html#CHAP_Source.SQLServer.Permissions

dms Article's
30 articles in total
Favicon
Top 9 Challenges and Solutions for eDMS Software in Pharma Industry
Favicon
Optimizing Security and Efficiency in AWS Database Migration with DMS: Understanding Outbound-Only Connectivity
Favicon
Database and Their Relationships
Favicon
AWS Database Migration Service now includes enhanced monitoring dashboard for your DMS tasks
Favicon
AWS DMS Table failure due to freeze period in source
Favicon
Building a Scalable Data Platform: Addressing Uncertainty in Data Requirements with AWS
Favicon
Testing AWS Database Migrations & Accelerating Development with Cloud Pods
Favicon
DMS error - Failed to get the capture list from the endpoint
Favicon
Distribution Management Software
Favicon
Troubleshooting and Fixing AWS DMS Instance Creation Error
Favicon
Why AWS DMS is loved by ETL experts
Favicon
RDS Database Migration Series - A horror story of using AWS DMS with a happy ending
Favicon
Migrando geometries con DMS
Favicon
Download Amazon invoices automatically
Favicon
Amazon Rechnungen automatisiert herunterladen
Favicon
Jeder braucht ein DMS zuhause
Favicon
Everyone needs a DMS at home
Favicon
Using DMS to replicate data from RDS(MySQL) to Open Search
Favicon
How can product suppliers balance DMS benefits with integration challenges for an efficient supply chain?
Favicon
AWS DMS - Database Migration to AWS
Favicon
Database Migration steps with the AWS CLI - 2
Favicon
Database Migration steps with the AWS CLI - 1
Favicon
AWS DMS and Prefect: The Key to Building a Robust Data Warehouse
Favicon
Migrating a MySQL database to AWS RDS using AWS DMS with zero downtime
Favicon
Case Study: How to replicate database from AWS to outside?
Favicon
Build An App Like Amazon - Amazon Clone App
Favicon
Implementing Change Data Capute (CDC) with Aurora Serverless v2
Favicon
Configure SSL between RDS and Weblogic / DMS endpoint
Favicon
How to use SQL Developer’s Diff Wizard to Complete a DMS Migration for Oracle 12c
Favicon
AWS Database Migration Service: Limitations

Featured ones: