You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Response Error
{
"readyState": 4,
"responseText": "Proxy Error: Cannot read properties of null (reading 'toString') (see more in sp-rest-proxy console)",
"status": 400,
"statusText": "Bad Request"
}
Console Log Message
GET: https://redacted.sharepoint.us/_api/web/siteusers?
Error TypeError: Cannot read properties of null (reading 'toString')
at OnDemand.saveAuthData (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\node-sp-auth\lib\src\auth\resolvers\OnDemand\OnDemand.js:83:44)
at OnDemand.getAuth (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\node-sp-auth\lib\src\auth\resolvers\OnDemand\OnDemand.js:38:28)
at Object.getAuth (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\node-sp-auth\lib\src\index.js:16:76)
at SPClient. (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:69:51)
at step (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:44:23)
at Object.next (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:25:53)
at C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:19:71
at new Promise ()
at __awaiter (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:15:12)
at SPClient.fetch (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:65:20)
I'm trying to use on demand electron credentials for this proxy.
Any solution to this issue?
Thank you!
The text was updated successfully, but these errors were encountered:
I have to run npm run test -- --env uat every 24 hours because the cookies expire but you can put the commands in batch script and have the batch on a scheduler.
Response Error
{
"readyState": 4,
"responseText": "Proxy Error: Cannot read properties of null (reading 'toString') (see more in sp-rest-proxy console)",
"status": 400,
"statusText": "Bad Request"
}
Console Log Message
GET: https://redacted.sharepoint.us/_api/web/siteusers?
Error TypeError: Cannot read properties of null (reading 'toString')
at OnDemand.saveAuthData (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\node-sp-auth\lib\src\auth\resolvers\OnDemand\OnDemand.js:83:44)
at OnDemand.getAuth (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\node-sp-auth\lib\src\auth\resolvers\OnDemand\OnDemand.js:38:28)
at Object.getAuth (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\node-sp-auth\lib\src\index.js:16:76)
at SPClient. (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:69:51)
at step (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:44:23)
at Object.next (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:25:53)
at C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:19:71
at new Promise ()
at __awaiter (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:15:12)
at SPClient.fetch (C:\Users\kofi.adutwum\Documents\Page\sandbox\node_modules\sp-rest-proxy\dist\utils\client.js:65:20)
I'm trying to use on demand electron credentials for this proxy.
Any solution to this issue?
Thank you!
The text was updated successfully, but these errors were encountered: