How to use API Geofence from Amazon Location Service?

0

Hello everybody. I want to get the collection list from the following API ‘https://geofencing.geo.us-east-1.amazonaws.com/geofencing/v0/list-collections’ provided by AWS documentation, I have followed the recommendations both to create the guest authentication in Amazon Cognito and appended the policy policies that the documentation recommends and I get the following error 403 ‘message’: ‘Missing Authentication Token’, My question is as follows: Can you get the list only with guess permission from Amazon Cognito or do you need a user with Access Key, Secret Key to query the endpoints.

Best regards.

Translated with DeepL.com (free version)

1 Answer
0

Hi there. Are you obtaining SigV4 credentials from IAM via Cognito before making the API call? You can absolutely give guest access to geofences in a Cognito policy, however the 403 error indicates you are not passing the appropriate credentials when making the API call.

AWS
awszac
answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions