DemocracyLab / DemocracyLab/CivicTechExchange

Location Autocomplete api call failing with 401 Unauthorized error

Open
#1,131 0 comments 0 reactions 0 assignees View on GitHub
Front End
Dominant language
JavaScript
Stars
105
Forks
71
PR merge metrics
No merged PRs in 30d

Description

In order to search for projects by location, users select a Country and type into the address bar, which calls the HERE api that autocompletes searches for addresses/landmarks. However, these calls are now returning error 401 (Unauthorized), which indicates we need to update our credentials and/or switch to a newer api.

https://github.com/user-attachments/assets/e38eaadd-27f2-48ec-b591-fd8aaf9ef838

## Code Location
https://github.com/DemocracyLab/CivicTechExchange/blob/f5012d0033916b0725947277a5c93cb06a1df184/common/components/utils/hereApi.js#L22

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.