I accidentally ran amplify push
while I my amplify mock
config was active and faced this same issue. I thought I was cooked and needed to rebuild my entire app from scratch...
Thankfully, running amplify pull
reset the config to communicate with the real server instead of the mock server. Problem solved. 😁