cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Cobra7
Champion Sweeper

Good afternoon,

I'm trying to create a bridge between Lansweeper and Jira Insight. Pretty much have a daily query to export Lansweeper data and use that to update Insight.

I'm able to use Postman to query LS Cloud using an application API. However when I try on Powershell it fails with a 400 error. I disabled the headers in Postman and found that it also fails with a 400 error unless I have "Content-Length" and "Host" enabled.

Could this be causing the error? If so what data is Lansweeper expecting? I have looked and I don't see other GraphQL scripts using these headers.

 

EDIT: I figured it out. For some reason it wasn't working when I did the "me" query, but it worked fine when I queried the DB with the -raw switch.

1 REPLY 1
Obi_1_Cinobi
Lansweeper Tech Support
Lansweeper Tech Support

Hello there!

Glad to hear you were able to figure this out!

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now