You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Barry and the group. I was just curious if there was a quick way with SnipeSharp to verify that the API and URL settings are valid, and the server is reachable?
The text was updated successfully, but these errors were encountered:
One quick way would be to submit a junk query, like this:
try{if(snipe.AssetManager.FindAll(newSearchFilter{Limit=0}).Total==0){// token is wrong, or URL might be wrong, assuming you have assets in your system.}}catch(JsonReaderExceptionex){// base url is really wrong, no idea about the token}
Hi Barry and the group. I was just curious if there was a quick way with SnipeSharp to verify that the API and URL settings are valid, and the server is reachable?
The text was updated successfully, but these errors were encountered: