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.

posta 2 anni fa524 visualizzazioni
1 Risposta
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
ESPERTO
Jan_B
con risposta 2 anni fa
profile pictureAWS
ESPERTO
Greg_B
verificato 2 anni fa
  • 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.

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