GSA / GSA/ag-api

API accepting requests with new keys?

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
11
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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: [dave@corbalt.com](mailto:dave@corbalt.com)
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](https://github.com/GSA/ag-api/files/13260856/gsa-api-list-documents.txt)

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.