Tag: Amazon Web Services
-
Lambda returning wrong data – type mismatch error, expected type LIST
0 In my schema.graphql I have set query: type Query { listCourses(param1: String, param2: String): [Course] and type Course: type Course { id: ID! fullname: String shortname: String idnumber: String summary: String } And in my frontend application I am calling this query that triggers lambda: async getDataByCodeType() { const query = /* GraphQL */…
-
AWS amplify graphql appsync – do not return deleted items?
9 I am using AWS amplify with graphql and appsync. When I do a standard list query, appsync includes deleted items in the list of items it returns. What can I do to make it return only items that are not deleted? I tried this query, but it throws an error: query MyQuery($filter: ModelFrameFilterInput =…
-
Opensearch 2.7 location search using @searchable through graphql
0 I’m developing a React Native app using the AWS Amplify GraphQL API. Whenever a user posts, I also capture their latitude and longitude. I’d like to use this data to identify and show other users within a 20-mile radius of that user. I discovered that OpenSearch can help with this, and by adding the…
-
400 response without any context in AWS Appsync where Lambda is a Data source
0 I’m getting the below response in AWS Appsync console, when i try to invoke graphql API. Request failed with status code 400 Query: query MyQuery { getUserData(inputArguments: $inputArguments) { __typename } } Variables: { "inputArguments": { } } I’m unable to debug it as Lambda is not being invoked. amazon-web-services aws-lambda graphql aws-appsync Share…
-
Flutter Data Model Doesn’t Update When Amplify Pulled
0 I’m using the AWS GraphQL database for my Flutter application. When I create my database on the AWS panel and type ‘amplify pull’ on the Flutter project terminal, there is no problem initially. All data models are created automatically successfully. The problem is, that I have created new data models on GraphQL and when…
-
Java Developer with GraphQL, Angular – PrimaSolv – Remote
PrimaSolv Remote Contract: W2, Corp-To-Corp, Independent Work from home Skills JavaScript Amazon Web Services Artificial intelligence Apex Microservices Java UI Cloud computing Oracle Application Express Business process Job Description Hi, My name is Suasini and Iam contacting you regarding a Remote job opportunity. PrimaSolv is a US based IT services company and provides a broad…
-
Why is AWS asking for a Cognito Identity Pool when My schema is and based on API
0 I don’t understand AWS Authorization yet. I’m getting this error. GraphQLAPI – ensure credentials error No Cognito Identity pool provided for unauthenticated access I thought by providing an API key this would just work like when you request from any other API. This is my schema: type art @model @auth( rules: [ { allow:…
-
Appsync returns null values
0 Here’s the relevant schema definitions: type Course implements GrApp { id: ID! term_id: ID! term_name: String type: String! name: String! data: AWSJSON course_info: AWSJSON } interface GrApp { id: ID! type: String! name: String! data: AWSJSON } input TableGrAppFilterInput { id: TableIDFilterInput type: TableStringFilterInput name: TableStringFilterInput } input TableIDFilterInput { ne: ID eq: ID…
-
Using React, AWS, Graphql, Dynamodb, how can I allow a user to share a link which will allow anyone who clicks on that link to view that user’s data?
0 I am new to AWS so any help will be appreciated! In many applications I see a feature which allows a logged in user to generate a shareable link which when clicked by anyone would display the user’s data. I was able to create unique links using the cognito user ID of a logged…
-
How can I achieve graphql/dataloader like behaviour in AppSync?
1 I am currently building an AppSync API and after doing some research into how to load four different fields with two data sources (two fields per data source) I came across this question. The response to this question seems to do a great job explaining the use of data loaders and using mostly field…