I am having an issue after i have migrate to next 14 and aws-amplify v6
when my initial page renders i get this warning about config missing. when i later call the generateClient() is says its missing credentials.
warningError: "The API configuration is missing. This is likely due to Amplify.configure() not being called prior to generateClient()."
I understand what it is saying but it cannot be true? I run Amplify config in the layout page where i can log the file so i know it is getting configured. then after the warning pop up in the console. I even call amplify.getConfig() to retrieve the data is it comes back just fine.
in the screen shot i call a login() then I call the aws signIn(). i get a return of logged in status "done". then I try to call the api to get additional user data from our db. right before I console log amplify.getconfig() the return shows a valid data object then my try catch block throw the error on signing in and after the internalgraphqlapi throw an erro say no credentials
very strange.