Rest API - "Cannot read properties of null"

Hello,

I’m trying to use Rest API to get info from my db. However, I have this error
“Cannot read properties of null (reading ‘reduce’)”

I get a response in Postman and in my browser, so its a Weweb problem.

  • I also used “httpS”.
  • My API is accessible WITHOUT credential
  • I checked “Proxy the request to bypass CORS issues”

Nothing is working, I’m going crazy…I check the forum but I didn’t find any answer.

Here how I set it up. I replaced the real URL for the screenshot but the one I’m using actually work

Hi, I think your collection is corrupted, it’s a bug we caught last week and a fix should be released in two days.

Could you try to add and remove a header and a query string, by clicking on the blue button Add item for each parameters ?

Hi!

Its seems to be working! My error message is differents this time :laughing:

“stack: “Error: self signed certificate at TLSSocket.onConnectSecure […]””

But its on my part, I used a self-signed SSL certificate since its still not on production. Is there any way to go past that for now ?

Nice :slight_smile:

Maybe try to replace https with http

I’m having the same problem about the certificate, is there a way to bypass this certificate check?

image

The browser is blocking insecure request.

If its for building purpose you can try to open the url in a new tab first, the browser will ask you if you agree to access this website for security check, once confirmed it should probably works.

If its for your published website, you may have to toggle proxy so we will make the request server side instead.