As is mentioned in official doc I am using the exact order of request building:
POST /accesstoken.srf HTTP/1.1
Host: login.live.com
grant_type: client_credentials
client_id:/here's my client id from dashboard/
client_secret: /here's my secret from dashboard/
scope: notify.windows.com
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
and I am getting:
400 Bad Request
Cache-Control → no-store
Connection → close
Content-Length → 76
Content-Type → application/json
Date → Fri, 01 Apr 2016 11:23:08 GMT
Pragma → no-cache
Server → Microsoft-IIS/8.5
X-Content-Type-Options → nosniff
X-WLID-Error → 0x8004101C
{
"error": "invalid_request",
"error_description": "Invalid request parameters"
}
I am using an online request maker, and have to mention that 2 days ago it was working perfect, I was receiving the token and expiration time as expected.
I created a new app on the store to try out new client_id and client_secret and still same problem, also tried from other PC with different external IP and no success. Is WNS a usual windows shity service or I am missing something?