Skip to content

IOT Rule + Timestream : "Unable to discover required endpoint for request.

0

IoT Rule unable to find timestream endpoint., I often encounter this issue, how to solve it

"logLevel": "ERROR",
"status": "Failure",
"eventType": "RuleExecution",
"ruleAction": "TimestreamAction",
"resources": {
    "DatabaseName": "smartbox-timestream",
    "TableName": "telemetry"
},
"principalId": "c3190b32ceb1d779afd6375cb71fc2be215c6f7eb187037dea0b5ba1566e05ca",
"details": "Unable to discover required endpoint for request."

}

2 Answers
0

not a region issue : timestream and iot rules are in the same region - 'eu-central-1' not a connectivity issue : both iot rule and timestream are managed services running in aws global infra not inside VPC

answered 2 months ago
  • ok. Sometimes the endpoint discovery gets cached incorrectly. Try delete and recreate. Also, I assume IoT Rule's IAM role has the correct permissions.

0
  1. I hope you already checked if Timestream is supported in your current region.
  2. Your IoT Rule and Timestream database must be in the same region. Is this true?
# Check your current region
aws configure get region

# List Timestream databases to verify region
aws timestream-write describe-database --database-name smartbox-timestream
  1. Sometimes the endpoint discovery gets cached incorrectly. Try delete and recreate. Also, I assume IoT Rule's IAM role has the correct permissions.
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.