originally posted in:BungieNetPlatform
View Entire Topic
I've been using the API all week without any problems but today when I hit the API I get
ErrorStatus : ApiKeyMissingFromRequest
Message : Please add valid X-API-Key header to request. Visit https://www.bungie.net/developer for details.
I'haven't changed anything in my code and when I sign in from the browser(chrome) and query the API I get the same error
Can someone please tell what's going on thanks.
-
https://www.bungie.net/en/Clan/Post/39966/154055075/0/0 [quote]Starting Sept 23rd, Bungie.net will start enforcing the API key requirement. Again. Hopefully we have resolved any issue that will force us to turn the key requirement off again. If you didn't get your apps updated last time, now is the time to do it![/quote] https://www.bungie.net/en/Clan/Post/39966/85087279/0/0 [quote][b]Getting Started[/b] Before using our API we ask for a few simple things: 1. Create a Bungie.net account with a verified email address 2. Read the Terms of Use, pay special attention to the BUNGIE.NET API TERMS AND CONDITIONS section near the end. 2. Request an API key here: https://www.bungie.net/en/User/API. 3. Use the API key as described below. The API key allows us to measure which developers and applications are using the API and how they are using it. Having that linked to a verified email address means we can contact a developer if their application is creating an undue burden on our servers, or we notice the API is being used incorrectly. The key does not provide any type of security or authorization and will not be used to block or throttle an application except possibly in the most extreme emergency cases. [b]Using the Key[/b] Each HTTP request your applications sends our servers should include the “X-API-Key” header. The header should contain your key. X-API-Key: <your key here> For example: [i]GET https://www.bungie.net/platform/destiny/vanguard/grimoire/2/4611686018437163478/ Host: www.bungie.net Connection: keep-alive X-API-Key: 17E792624C2A43E29356B8A79EEDA64A Cookie: bungledid=B6BGVMQFOKdJsTAWEnsW/ko5xn4glmfRCAAA; bungled=2796665744958383183[/i] Notes about the key: The key is mandatory and our servers will reject requests that do not include a valid key. (starting Aug 5, 2015). We know there are some pretty amazing developers that have already created apps using the Bungie.net Platform APIs, and we don’t want to disrupt the services they are offering. We will reach out to them and encourage their participation in this program before we flip the switch and require the key.[/quote]