So I am trying to build a reset password solutions your online docs here
Mention SecretKey after 2 days of failing to get it to work I downloaded your postman examples they use
X-SecretKey once I changed to that all was fine. Is this just a documents are out of date issue or is the a difference?
Travis
May I ask what is your development environment? Have you implemented any version of SDK in your project? The Secret Key is a defined name of the feature and X-SecretKey is the name of the parameter that stores the secret key in the HTTP header of Postman SDK. There can be differences on name definition when it comes to different SDKs. For example, in Unity SDK, it can be retrieved via PlayFabApiSettings.DeveloperSecretKey. (if server/admin API is enabled.) This should be encapsulated in many SDKs so that you don’t have to manually craft the raw HTTP request.
Hello my environment is really not the issue at all.
The issue is your online documentation still just says SecretKey at the link below as apposed to X-SecretKey.
I did download the swagger generated api and I did see the value there was X-SecretKey My project is working I am only posting so you might notice the docs are wrong or out of date and have a chance to correct them.
That is remarkable short sighted.
The comments read as follows
SecretKey | True |
|
This API requires a title secret key, available to title admins, from PlayFab Game Manager. |
Saying this is the request header then giving the wrong name for the header field is not just a terminology issue this reads as a technical document and without download your swagger open api spec I would never have seen this was not the correct header name.
It is of course your documentation but it wasted 2 days of my time working out your term was not in fact the correct value for the header. This is misleading and it's going to leave other developer confused latter too.
2 People are following this question.