Getting error while running following command "aws iot describe-endpoint --endpoint-type iot\:Data-ATS"

0

Getting error: "when calling the DescribeEndpoint operation: Endpoint type iot:Data-ATS not recognized." while running the command to check your MQTT broker endpoint for AWS IoT.

asked 2 years ago515 views
1 Answer
1

Hi, can you try to remove the backslash before the : from your command and retry? The error message when calling the DescribeEndpoint operation: Endpoint type iot:Data-ATS not recognized is displayed when the endpoint type parameter is not one of the following:

  • iot:Data
  • iot:Data-ATS
  • iot:CredentialProvider
  • iot:Jobs

On my machine, this works :

aws iot describe-endpoint --endpoint-type iot:data-ats

{
    "endpointAddress": "xxxxxxxxxx-ats.iot.eu-west-1.amazonaws.com"
}
profile pictureAWS
EXPERT
Jan_B
answered 2 years ago
profile pictureAWS
EXPERT
Greg_B
reviewed 2 years ago
  • It's working after removing backslash. Thank you for your help.

  • Glad I was able to assist. Looking again at your command line, you may have used a UNICODE character that looks similar to the ASCII column char :, e.g U+A789 ꞉ MODIFIER LETTER COLON If I use this Unicode character, I get the same error message.

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.

Guidelines for Answering Questions