I run the following API request. Some can be found, but one not. I thought this is the permission of the sites but I used the admin user and it is the same. The server exists in the Console.
api/query?relevance=name of bes computers whose (name of it as lowercase = "<hostname>")
<?xml version="1.0" encoding="UTF-8"?>
<BESAPI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BESAPI.xsd">
<Query Resource="name of bes computers whose (name of it as lowercase = "FORNAX0055434")">
<Result></Result>
<Error>Singular expression refers to nonexistent object.</Error>
</Query>
</BESAPI>
First thing to check if the user you are connecting to API with actually can see this machine in the console. If thatās the case the next thing would be to change the plurality of your relevance statement - you have ābes computersā which may return multiple results but ānameā. Change it to names of bes computers cause if you have 2 machines with the same name it will in fact produce that exact error.
If the machine in the Console is uppercase, then it doesnāt show.
If the machine in the Console is uppercase and in the detail lowercase, then it works.
If the machine in the Console is lowercase and the the detail lowercase, then it works too.
So this lowercase methode doesnāt work really.
The same for this.
(names of it as lowercase) of bes computers whose (name of it as lowercase = āhostnameā)