Police-Data-Accessibility-Project / data-sources-app

An API and UI for using and maintaining the Data Sources database
MIT License
4 stars 5 forks source link

bug: v2 search not working in prod #484

Closed josh-chamberlain closed 3 weeks ago

josh-chamberlain commented 1 month ago

Context

https://data-sources-v2.pdap.dev → search works as expected https://data-sources-v2.pdap.io → search clears the search and does not proceed to the next page

console says:

 Failed to load resource: the server responded with a status of 500 ()

https://data-sources-v2.pdap.io/api/search/search-location-and-record-type?state=Pennsylvania&county=Allegheny

{"message": "Please provide an API key in the request header in the 'Authorization' key with the format 'Basic '"}

Requirements

ID the bug, and fix it

maxachis commented 3 weeks ago

Let's check back in on this after the following pull request is complete:

https://github.com/Police-Data-Accessibility-Project/data-sources-app-v2/pull/151