Error 400 - Cannot read property 'length' of undefined
See original GitHub issueHello, I use your proxy a lot for my SPFX dev on SP Online, thanks for that!
On a new SPO tenant, I have a strange problem, error is :
{ "readyState": 4, "responseText": "Cannot read property 'length' of undefined", "status": 400, "statusText": "Bad Request" }
But the request is good, it is working directly on the tenant (https url GET), and not with the proxy. The same proxy configured with my DEV tenant information is working. Just not on the PROD client tenant…
Version used is 2.8.9
Any idea? Thanks.
Some precision : it is an O365 tenant : xxxxx.sharepoint.com, but I have only access on some collection sites like xxxxx.sharepoint.com/sites/specificsite , and not on the root collection. Could this be the problem?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Cannot read properties of undefined (reading 'length') - TrackJS
This message indicates that our code expects to have an object with a length property, but that object was not present. length is...
Read more >Cannot Read Property Length of Undefined in JavaScript
Undefined means that a variable has been declared but has not been assigned a value. In JavaScript, properties and functions can only belong...
Read more >Typeerror: Cannot Read Property 'length' of Undefined
A typeerror length of undefined can indicate that the actual type of an operand is different from the expected type. This error can...
Read more >Getting this error: Cannot read property 'length' of undefined
I am building an app with nuxt (using vuetify 2 and typescript). I have radio buttons(say b1 b2) and text fields(say t1 t2...
Read more >[SOLVED] Cannot Read Property 'length' of Undefined in JS
To fix the “cannot read property 'length' of undefined” error, perform an undefined check on the variable before accessing the length property ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I can understand that. Anyway, I’m using the distant Workbench and it’s working this way for now.
You can close my issue, which is certainly a Sharepoint limitation. Thanks.
Thanks for understanding!