Upload file to secure connection - sessionToken is absent or invalid (DBSQ261)
Hi All,
I switch my DB to use secure connection, and since than I'm getting the following issue:
While trying to upload file to DB I'm getting the following error:
Error: {"message":"Option 'Secure collection with session token' enabled but sessionToken is absent or invalid","code":"DBSQ261"} at Object.query (:25:42) at Object.query (:43:35) at getAllCollection (:54:24) at prepreJSONForSaveIntoTable (:432:29) at :31:28
In the header I tried event to set all permission combination:
"headers": {
"X-Appery-Database-Id": dbId,
"X-Appery-Master-Key": masterKey,
"X-Appery-Session-Token": token,
"content-type":"text/json"
},
Can you tel what is the issue?