Originally posted by **skante93** February 7, 2024
I have been searching for answers about two questions lately.
## QueryMessage support
I tried the POST /api/ids/query endpoint of the connector as per the swagger UI, however I was let to believe that the QueryMessage is currently not supported. The exact error message was:
```
Received unexpected response message. [response=({reason=https://w3id.org/idsa/code/MESSAGE_TYPE_NOT_SUPPORTED, payload=No handler for provided message type was found!, type=class de.fraunhofer.iais.eis.RejectionMessageImpl})]
```
Therefore I was wondering if the message is not supported or perhaps am I using the wrong endpoint?
## Usage Control
What is the current status of usage control implementation in the Dataspace connector, more specifically, the policies currently supported?
Last time I checked, you could only declare your permissions with a "USE" policy, is that still the case?
Any help would be greatly appreciated!
Discussed in https://github.com/International-Data-Spaces-Association/DataspaceConnector/discussions/727
POST /api/ids/query
endpoint of the connector as per the swagger UI, however I was let to believe that the QueryMessage is currently not supported. The exact error message was: ``` Received unexpected response message. [response=({reason=https://w3id.org/idsa/code/MESSAGE_TYPE_NOT_SUPPORTED, payload=No handler for provided message type was found!, type=class de.fraunhofer.iais.eis.RejectionMessageImpl})] ``` Therefore I was wondering if the message is not supported or perhaps am I using the wrong endpoint? ## Usage Control What is the current status of usage control implementation in the Dataspace connector, more specifically, the policies currently supported? Last time I checked, you could only declare your permissions with a "USE" policy, is that still the case? Any help would be greatly appreciated!