Isaksson / node-red-contrib-unifi

MIT License
50 stars 19 forks source link

ERR_BAD_REQUEST when using any command other than SitesStats #104

Closed firstraysofthenewrisingsun closed 1 year ago

firstraysofthenewrisingsun commented 1 year ago

As the title states whenever I try a different command it throws the bad request error. I'm able to parse some data from SiteStats but it would be nice to be able to use the others. Also how would I execute the non gui commands? The firewall groups example does not work. I get the same bad request error.

Isaksson commented 1 year ago

Have you verified that you are using the correct sitename in the configuration? it should be the same name that you receive from the SitesStats command.

firstraysofthenewrisingsun commented 1 year ago

Have you verified that you are using the correct sitename in the configuration? it should be the same name that you receive from the SitesStats command.

Yes I'm using the generated name from the SiteStats command. I'm still receiving this error. Please advise

firstraysofthenewrisingsun commented 1 year ago

Any news on this? This API does not work, I've tried everything under the sun to get this going. Please provide any advice

firstraysofthenewrisingsun commented 1 year ago

@Isaksson any assistance with this would be helpful. You didn't provide much help initially and your API isn't working with other commands

Isaksson commented 1 year ago

Well, I don't know what to say, this Node is working and I have tried with many different installations with success every time. It's hard to fix something that is not broken. Please try a new installation of Node-RED and only install this Node.

If you still have issue then, let me know the exact version of everything involved in your installation so that I could replicate that in my environment.

jyavenard commented 1 year ago

I'm now seeing this following update of my UDM pro.

Tried with new local node-red docker container

image image

Can't figure out exactly what is wrong with it unfortunately, no idea on how to debug.

jyavenard commented 1 year ago

running Version 7.4.162

Isaksson commented 1 year ago

@jyavenard I created a new issue based on your information due to this case is closed.