So I have ran the following commands to initialize my amplify project:
amplify configure
amplify init
Then i run amplify add api
.
when I select "REST" api, it says "There was an error adding the API resource" Running amplify status
confirms that nothing was added. However, when I try to add the "GraphQL" api, it gives me the same error message, but running amplify status
indicates that it was actually added successfully.
i want to add REST api to my amplify app. Not sure what the issue is. I have tried updating amplify cli and reinitializing my project multiple times. thanks in advance.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.