1

我使用AWS Cognito CLI command語法精確到AWS Cognito:無法構建cognito標識的端點在區域無

aws cognito-identity get-open-id-token-for-developer-identity --identity-pool-id eu-west-1:c1b83398-09xx-4x38-b10x-2346x1xdc1b --logins [email protected] 

所述命令已成功返回令牌先前。

我現在收到錯誤「無法構建在區域無cognito身份的端點的」

我已經退休了這個各種cognito身份池;根據需要交換身份池ID和登錄名。有任何想法嗎?如果我使用CLI命令describe-identity-pool

例如, aws cognito-identity describe-identity-pool --identity-pool-id eu-west-1:c1b83398-09xx-4x38-b10x-2346x1xdc1

我收到相同的錯誤消息。在Aws Cognito Forum

回答

3

X-貼好像區域從您的AWS配置中缺少。 您可以運行'aws configure'並提供區域爲'eu-west-1'作爲您的身份池所屬的區域。

+0

乾杯Vinay - 道歉的入門級錯誤。我之前配置過它。 – 2014-12-05 22:49:44

相關問題