【问题标题】:GraphQLSchema Specified key does not exist on `amplify push``amplify push` 上不存在 GraphQLSchema 指定的键
【发布时间】:2021-10-04 07:16:11
【问题描述】:

我已经将放大版从4.45.0升级到5.2.0

现在当我执行amplify push 时,我收到以下错误:

Following resources failed

Resource Name: ci5lt23eofhvxlc3an7db4d7veGraphQLSchema (AWS::AppSync::GraphQLSchema)
Event Type: update
Reason: The specified key does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID: GZQF1T9HWCCED75H; S3 Extended Request ID: qicfcwF2YUNdqMDU3EUkt+hsXIQawcirDG7TIX+peEEkAWOE1v9ee6n2L5Qc2I8uePyAXg2eJ4U=; Proxy: null)

【问题讨论】:

    标签: amazon-web-services aws-amplify aws-appsync aws-amplify-cli


    【解决方案1】:

    在我的情况下,强制推送到云端并没有帮助。 原来我的 graphql 密钥有一个有效期,我在运行 amplify update api 后意识到它是:

    Authorization modes
    - Default: API key expiring Tue Oct 25 2022 ....
    

    然后我更新了我的密钥。结果很好……

    【讨论】:

      【解决方案2】:

      用力推送后删除错误为:amplify push --force

      【讨论】:

        猜你喜欢
        • 2018-07-03
        • 1970-01-01
        • 2022-08-15
        • 2020-05-15
        • 2016-04-13
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多