- Newest
- Most votes
- Most comments
The plot thickens... I exited my terminal and when I came back I was getting 403's for both GETs and PUTs.
I read a random stackoverflow thread that suggested 'X-Api-Key' in the header had to be capitalized. This didn't make sense because the GET method was working with it being lowercase, but they both started working after I changed it.
However, another comment suggested I needed to have a usage plan associated with the keys. I didn't have one setup, so it doesn't make sense that it worked initially, but now I'm thinking AWS maybe allows for some light activity without a usage plan. I think this might have been the problem but it took a short amount of time before the change took effect, because when I initially made the change it didn't seem to work.
TL;DR I think a usage plan is necessary for API Keys
Relevant content
- Accepted Answerasked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 days ago