Closed ErikHochweller closed 2 months ago
just an update here.
when i run the node function i get as a result the correct fields, so i believe the function is working correctly.
Then my thoughts tend to datastore as the underlying bit should be the same (and its datastore that throws the message)
Hey,👋 thanks for raising this! I'm going to transfer this over to our codegen repository for better assistance 🙂.
For your first issue please refer to this comment on a similar issue: https://github.com/aws-amplify/amplify-category-api/issues/1338#issuecomment-1471896343
I'm not certain on the second issue. I found this thread with a similar issue. https://github.com/aws-amplify/amplify-js/issues/8738
ok i figured out that i wasnt sending the 4 requested item when creating a new inquiry... now the message is gone, still have the API key issue though
Have you tried the suggestion in https://github.com/aws-amplify/amplify-js/issues/8738#issuecomment-901276845?
This issue is being closed due to inactivity. If you are still experiencing the same problem and need further assistance, please feel free to leave a comment. This will enable us to reopen the issue and provide you with the necessary support.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Amplify CLI Version
10.7.3
Question
I inherited an app in AWS and am facing some issues that I dont fully understand as this is not something i have been involved with earlier. I have two issue, the first is whats in the title. When i create a new inquiry through my app front end interface (react) i dont get this message. It uses datastore. If i run "the same" through a lambda function using node all users logged into the app get the message:
and my database runs super sluggish and i cant really update anything. It does some updates after 10 minutes so it seems that there is something hanging somewhere. I have seen other threads on this topic but i couldnt figure it out through them
In my lambda function im using graphql. As far as i can tell its using Appsync and dynamodb. i have conflict resolution enabled and set to optimistic concurrency
any help on this would be appreciated :)
the second issue i will create a new issue for but its this:
but it seems to have API key in there:
Here is the code im using in my createInquiry function: