I’ve tried to set installationId in both the config object and the header, but none of it works. The installationId column in the Session table still remains “undefined” and new sessions are added at each login. As you can see in the debug output from a signup request, installation id gets sent, but it is still somehow ignored.
What am I doing wrong?
Jan 23 04:41:45.597 ********************************************************************
Jan 23 04:41:45.597 ** Parse RESPONSE @ 01-23 15:41:45 [2]
Jan 23 04:41:45.598 ********************************************************************
Jan 23 04:41:45.598 > createdAt: 2016-01-23T15:41:40.247Z
Jan 23 04:41:45.598 > objectId: sWfbjLpo5gE
Jan 23 04:41:45.606 > sessionToken: r:sDFfG5HlP73ASctthRT4aDSvg
Jan 23 04:41:45.607 ********************************************************************
Jan 23 04:41:45.607 ** RESPONSE META
Jan 23 04:41:45.607 bytesEstimated: 110
Jan 23 04:41:45.608 bytesTransferred: 110
Jan 23 04:41:45.608 isError: false
Jan 23 04:41:45.608 responseHeaders:
Jan 23 04:41:45.608 Access-Control-Allow-Methods: *
Jan 23 04:41:45.608 Access-Control-Allow-Origin: *
Jan 23 04:41:45.608 Connection: keep-alive
Jan 23 04:41:45.609 Content-Length: 110
Jan 23 04:41:45.609 Content-Type: application/json; charset=utf-8
Jan 23 04:41:45.609 Date: Sat, 23 Jan 2016 15:41:40 GMT
Jan 23 04:41:45.609 Location: https://api.parse.com/1/users/sWfbjLpo5gE
Jan 23 04:41:45.609 Server: nginx/1.6.0
Jan 23 04:41:45.609 X-Parse-Platform: G1
Jan 23 04:41:45.609 X-Runtime: 0.819689
Jan 23 04:41:45.609 responseType: text
Jan 23 04:41:45.609 status: 201
Jan 23 04:41:45.610 url: https://api.parse.com/1/users
Jan 23 04:41:45.610 ====================================================================
Jan 23 04:41:45.610 ** REQUEST DATA
Jan 23 04:41:45.610 body: {“username”:“x”,“password”:“x”,“email”:“x@x.x”}
Jan 23 04:41:45.610 headers:
Jan 23 04:41:45.610 Accept: application/json
Jan 23 04:41:45.610 Content-Length: 114
Jan 23 04:41:45.610 Content-Type: application/json
Jan 23 04:41:45.610 X-Parse-Application-Id: xxxxxxxxxxxxxxxxxxxxxxxxxxx
Jan 23 04:41:45.610 X-Parse-Installation-Id: 293jdfjc3jdne83ekdle3293kedmde34
Jan 23 04:41:45.610 X-Parse-REST-API-Key: xxxxxxxxxxxxxxxxxxxxxxxxxxx
Jan 23 04:41:45.610 ====================================================================