Automating Your Business

 View Only

ODM Rule Execution Server 403 forbidden error

  • 1.  ODM Rule Execution Server 403 forbidden error

    Posted Mon July 08, 2024 06:43 PM

    I have the local ODM server running on windows-10, and when I make a call to validate a rule using postman and sprigboot-rest-api call with 'http://' ... It works no error.

    There is a rule server running on 'development-environment', where multiple rule-apps are deployed. When I make a call to the server-ruleapp from post-man with access-token, the rule gets executed. When the same api-end-point called using the 'httpclient' as below .... 

    HttpClientRequest<T> request =
    HttpClientRequest.<T>builder()
    .url(url)
    .requestHeaders(requestHeader).method(HttpMethod.POST)
    .responseType(ParameterizedTypeReference.forType(responseTypeObject.getClass()))
    .bodyInserter(BodyInserters.fromValue(requestTypeObject)).build();

    return apiResponseFnmaResilientSupplier.exchangeForMono(request,
    fnmaResilientRequest).block();


    ==================


    I am getting status code '403 FORBIDDEN'

    The same url works without error for another call.... example

    https://api-devl-int.company.com/enterprise/businessrules/technical/RulesApp/evaluateXXXRules
    This one .... no error

    https://api-devl-int.company.com/enterprise/businessrules/technical/RulesApp/evaluateYYYYRules
    This one gives .... 403 forbidden error.....

    Can you inform where to make change or look for any policy or scope to be modified. I looked at my local-rule-execution-server could not find any.
    thank you




    ------------------------------
    Karthikeyan Veera
    ------------------------------