Named query via API call: hide filter details if an error is returned
A
Aubin JONCOUR
started a topic
6 months ago
Hello,
Contexte
Query via Postam a custom named query and using the "$f" parameter to add SQL in the request.
When the "$f" is incorrect, and error 400 is returned that gives all the details of the SQL filter set in the named query:
"error": {
"errorMessage": "Invalid SemQL request. An error occurred while parsing the condition \" FILTER USED in the Named Query" : ERROR 70:16 no viable alternative at input '( ANYA TiersEtablissements' ERROR 70:185 extraneous input ')' expecting {<EOF>, T_OR, T_AND}",
"errorId": "8b889b6a-784b-42f6-89db-ba5105182a43",
"statusCode": 400
}
Desired behavior
I would like to know if a parameter/solution exists in order to hide the details of the filter if this error is returned?
Best
Best Answer
A
Alexia SIMOND
said
6 months ago
Hello,
It is not something that is supported as of now.
But a request has been created and the Product Team will consider it: MDM-15592.
1 Comment
A
Alexia SIMOND
said
6 months ago
Answer
Hello,
It is not something that is supported as of now.
But a request has been created and the Product Team will consider it: MDM-15592.
Aubin JONCOUR
Hello,
Contexte
Query via Postam a custom named query and using the "$f" parameter to add SQL in the request.
When the "$f" is incorrect, and error 400 is returned that gives all the details of the SQL filter set in the named query:
Desired behavior
I would like to know if a parameter/solution exists in order to hide the details of the filter if this error is returned?
Best
It is not something that is supported as of now.
Alexia SIMOND
It is not something that is supported as of now.
-
Deployment History Date
-
Username in Tomcat Access Logs
-
Is It Possible to Perform Automatic Authentication with The User's Windows Account?
-
Where is the documentation for Version 5.2.5?
-
On Prem Semarchy Authentication using Azure AD?
-
Delete old models
-
Sync production model version with dev
-
Recreate a dev environment. Any side effect?
-
Indexes on xDM database tables
-
What logging technology is used in the Semarchy xDM platform?
See all 63 topics