1 Answer
- Newest
- Most votes
- Most comments
1
Issue:
This issue indicate that the client is not authorized to access the uploadFile
query on the AWS AppSync API, likely due to a mismatch between the configured authentication mode and the credentials provided or insufficient permissions set for the accessing entity.
Possible solution:
To resolve the issue, verify and align the authentication mode used by your client with the one configured for your AWS AppSync API, and ensure the entity making the request has the appropriate permissions to access the uploadFile
query.
For detailed instructions on how to set up access for the uploadFile
query in your AWS AppSync API using AWS IAM, check out the friendly guide in the AWS AppSync Developer Guide.
Relevant content
- asked 8 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
I am facing a similar error: Error fetching photos: { "data": { "listPhotos": null }, "errors": [ { "path": [ "listPhotos" ], "data": null, "errorType": "Unauthorized", "errorInfo": null, "locations": [ { "line": 2, "column": 3, "sourceName": null } ], "message": "Not Authorized to access listPhotos on type Query" } ] } Can you help me debug this as I am quite confused as I have tried my best