Jump to content

Network Module - GET API Call - Request Failed


Recommended Posts

Posted

Hi,

 

I'm trying to create an API call using the Network Module to create a record within a local application. The local application uses an API key for the API. Using Postman and the header "Private-Token" works fine. However, when I try to do the same call with the same headers within the ISY all I get is the very helpful  "Request Failed" message. No return codes or anything to help guide me to the actual issue.

 

The only difference between Postman and the ISY I can find is that within Postman you can tell it to bypass SSL validation since the local application is just using a self signed cert.

 

Can you set the network module to ignore SSL validation somewhere?

 

Thank you.

Posted (edited)

Do you have a sceenshot of the NR you're trying to use and the error message window when you click test?  Feel free to black out private info.

Edited by MrBill
Posted

Screenshot of the failure:

image.thumb.png.b71c3789f49eb74b5971940e0ef90e6a.png

 

Screenshot of the NR:

image.thumb.png.baed2eeaa4e0fe797a2df3432d36d67f.png

 

And the working call in Postman (Can see the Status 200 OK at the bottom):

image.thumb.png.a612e07eaa0901fda6d1ad5cec601b04.png

Postman specifically has a setting to ignore SSL validation for self-signed certs so it's the only thing right now that makes sense to me is the ISY is trying to validate the cert but failing.

 

Thank you!

Posted (edited)

Can SSL cert validation be disabled in the ISY? I don't think it's timeout related if Postman works fine.

 

I increased the timeout to 5 seconds and it still instantly fails.

Edited by isy_troubleshooting
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.4k
×
×
  • Create New...