Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API accepting requests with new keys? #13

Open
dacut opened this issue Nov 5, 2023 · 0 comments
Open

API accepting requests with new keys? #13

dacut opened this issue Nov 5, 2023 · 0 comments

Comments

@dacut
Copy link

dacut commented Nov 5, 2023

Hello there,

I just applied for and received an API key for api.gsa.gov, but I'm not seeing the expected responses.
Account Email: [email protected]
Account ID: 4422f08b-fe57-4a60-98d0-806c6ad9ae23

GET https://api.gsa.gov/acquisition/cap/v1/documents responds with a 403 Forbidden:

  {"type":"http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html#sec10.4.4","title":"You do not have access to this resource.","status":403,"detail":"Forbidden."}

GET https://api.gsa.gov/acquisition/cap/v1/search/documents/Test1 responds with a 500 Internal Server Error, showing what looks like an ElasticSearch/OpenSearch error:

  {"type":"http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html#sec10.5.1","title":"Search API Exception: Unknown index with ID document_library..","status":500,"detail":"Server configuration error."}

Here's what the request/response (sanitized, omitting API key, cookies) looks like:
gsa-api-list-documents.txt

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant