Hello, This error is coming from ConnId Framework, not from Syncope itself, and it is raised after your connector has returned an object, when the framework tries to apply the search filter. The filter is the ConnId search filter that Syncope passes to the connector when it performs a search or get operation. The filter is not configured statically. It is dynamically built by Syncope from:
- The operation being executed, for example: read, search, etc. - The mapping of the external resource - The attribute used as ConnId Name, for example __NAME__, __UID__ Maybe the main question here is the last one, why the mapping is wrong for the filter. Please take care about your Syncope mapping configuration and how you're using the Connid __NAME__ and __UID__. HTH Best regards, Lorenzo Il giorno sab 17 gen 2026 alle ore 17:49 Stéphane Popoff < [email protected]> ha scritto: > Hi, > > When requesting a record on a Rest connector that respond with data: > > {"appName":"appAdmin","key":null,"login":"appAdmin","status":"ACTIVE","projects":["projet1","projet2"],"uid":"appAdmin"} > > I found in Syncope log this exception: > Caused by: java.lang.IllegalStateException: Object {Uid=Attribute: > {Name=__UID__, Value=[appAdmin]}, ObjectClass=ObjectClass: > __ACCOUNT__, Attributes=[Attribute: {Name=projects, Value=[projet1, > projet2]}, Attribute: {Name=appName, Value=[appAdmin]}, Attribute: > {Name=__NAME__, Value=[appAdmin]}, Attribute: {Name=__UID__, > Value=[appAdmin]}], Name=Attribute: {Name=__NAME__, Value=[appAdmin]}} > was returned by the connector but failed to pass the framework filter. > This seems like wrong implementation of the filter in the connector. > at > org.identityconnectors.framework.impl.api.local.operations.FilteredResultsHandler.handle(FilteredResultsHandler.java:82) > at > org.identityconnectors.framework.impl.api.local.operations.SearchImpl$AttributesToGetSearchResultsHandler.handle(SearchImpl.java:275) > at > org.identityconnectors.framework.impl.api.local.operations.SearchImpl$1.handle(SearchImpl.java:145) > at > org.identityconnectors.framework.impl.api.SearchResultsHandlerLoggingProxy.handle(SearchResultsHandlerLoggingProxy.java:75) > at > net.tirasa.connid.commons.scripted.AbstractScriptedConnector.processResults(AbstractScriptedConnector.java:800) > at > net.tirasa.connid.commons.scripted.AbstractScriptedConnector.executeQuery(AbstractScriptedConnector.java:616) > ... 14 more > > My questions is about the connector filter: > - What is attended by the filter ? > - Where to find the configuration of that filter ? > - Why is the external attribute appName, mapped on the internal name > attribute is wrong for the filter ? > > Best regards, > > Stéphane POPOFF > -- -- Lorenzo Di Cola Software Engineer @ Tirasa S.r.l. Viale Vittoria Colonna, 97 - 65127 Pescara Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net Apache Syncope Committer Syncope PMC Member at The Apache Software Foundation http://people.apache.org/phonebook.html?uid=loredicola
