‎10-04-2022 09:37 PM - last edited on ‎04-01-2024 03:02 PM by Mercedes_O
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.
‎10-05-2022 10:23 AM
Hello there!
Glad to hear you were able to figure this out!
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now