【发布时间】:2021-02-02 18:10:15
【问题描述】:
我刚刚尝试启动我的amplify mock 服务并收到以下错误:
InternalFailure: The request processing has failed because of an unknown error, exception or failure.
这在几个小时前就已经奏效了,没有重置或其他更改。
为了解决这个问题,我确实成功地完全删除了 amplify,执行 amplify init & amplify add api,但这意味着我每次都会丢失本地数据,但在过去几个小时内它会随机发生多次。
对于发生错误时的完整日志:
hutber@hutber:/var/www/unsal.co.uk$ amplify mock
GraphQL schema compiled successfully.
Edit your schema at /var/www/unsal.co.uk/amplify/backend/api/unsalcouk/schema.graphql or place .graphql files in a directory at /var/www/unsal.co.uk/amplify/backend/api/unsalcouk/schema
Failed to start API Mock endpoint InternalFailure
【问题讨论】:
标签: amazon-web-services graphql aws-amplify