Troubleshooting
Problem


Symptom
<?xml version="1.0" encoding="UTF-8"?>
<Errors>
<Error
ErrorCode="Failed to invoke SIMApi: Remote response: 403: You cannot consume this service"
ErrorDescription="Failed to invoke SIMApi: Remote response: 403: You cannot consume this service" ErrorRelatedMoreInfo="">
<Attribute Name="ErrorCode" Value="Failed to invoke SIMApi: Remote response: 403: You cannot consume this service"/>
<Attribute Name="ErrorDescription" Value="Failed to invoke SIMApi: Remote response: 403: You cannot consume this service"/>
<Stack>com.yantra.yfc.util.YFCException
at com.yantra.yfc.servlets.YFCServlet.service(YFCServlet.java:240)
at com.yantra.util.YFSServlet.service(YFSServlet.java:314)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at com.ibm.ws.webcontainer.servlet.SingleThreadModelServlet.service(SingleThreadModelServlet.java:124)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1266)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:754)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:451)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:100)
at com.sterlingcommerce.security.dv.web.SCUIRequestValidatorFilter.doFilter(SCUIRequestValidatorFilter.java:43)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:203)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:93)
at com.sterlingcommerce.security.dv.web.SCUISafeRequestFilter.doFilter(SCUISafeRequestFilter.java:64)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:203)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:93)
at com.sterlingcommerce.security.csrf.SCUIcsrfFilter.doFilter(SCUIcsrfFilter.java:96)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:203)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:93)
at com.sterlingcommerce.woodstock.security.FileNotFoundSuppressor.doFileNotFoundSuppressedFilter(FileNotFoundSuppressor.java:23)
at com.sterlingcommerce.woodstock.security.CrossFrameProtectionFilter.doFilter(CrossFrameProtectionFilter.java:76)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:203)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:93)
at com.yantra.yfs.ui.backend.YFSUIHttpSecurityFilter.doFilter(YFSUIHttpSecurityFilter.java:95)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:203)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:93)
</Stack>
</Error>
</Errors>
>Cause
Environment
Diagnosing The Problem
A 403 Forbidden Error occurs in Development Toolkit (DTK) when attempting to save a SIM Enabled Node in IBM Sterling Configuration Manager. This issue arises in a Store Inventory Management (SIM) integrated environment, specifically when SIM and Inventory Visibility (IV) tenants are newly provisioned by the IBM Engineering Development Operations (DevOps) Team.
To diagnose the issue:
-
Check the JWT Token Authentication
- Retrieve the JWT token using the following URL:
https://hostIP:9443/smcfs/restapi/jwt
https://9.30.141.139:9443/smcfs/restapi/jwt
- Decode the JWT token using https://jwt.io and verify its contents.
- Compare the decoded values with the
integration.properties
file located at:devtoolkit_docker/compose/docker/integration.properties
- Retrieve the JWT token using the following URL:
-
Validate the IV and SIM Tenant Configuration
- Ensure that the public key provided by DevOps matches in both IV and SIM tenants.
- Confirm the key alignment with both the SIM and IV teams.
-
Check DTK Configuration Files
- Ensure the
safestart.properties
andsystem_overrides.properties
files are correctly populated in theruntime/properties
folder. - Verify that
integration.properties
contains accurate SIM and IV details. - Confirm that
IV_V2_ENABLE=Y
is set inom-compose.properties
for IV V2 enablement.
- Ensure the
Resolving The Problem
To resolve the 403 Forbidden Error, follow these steps:
-
Ensure JWT Configuration Matches the Tenant ID
- The JWT Auth configuration key should match the tenantId (e.g.,
omoc-int-4
). - This configuration must be set by the SIM Engineering Team.
- The JWT Auth configuration key should match the tenantId (e.g.,
-
Verify IV and SIM Integration
- Confirm that the public key in IV and SIM tenants is correctly configured.
- Revalidate the integration settings in
integration.properties
.
-
Reconfigure DTK if Necessary
- If the issue persists, re-extract the DTK extras tar file in the
devtoolkit_docker
folder and run setup-upg -
./om-compose.sh setup-upg
- Ensure DTK version 2409.2 or greater is used, preferably with JDK_21.
- If the issue persists, re-extract the DTK extras tar file in the
-
Restart DTK containers
- Restart the DTK environment after making the necessary configuration changes:
-
./om-compose.sh restart
If the issue persists, collect the decode the JWT token using https://jwt.io and validate it against the configured integration properties to identify mismatches and create a ticket with IBM Support to involve the DevOps and SIM Engineering Teams with all the details.
Document Location
Worldwide
Historical Number
TS018572058
Product Synonym
SIM
OMS
Store Inventory Management
Order Management
Was this topic helpful?
Document Information
More support for:
IBM Sterling Order Management System
Component:
Call Center Store and SIM, Install and Deploy
Software version:
All Versions
Document number:
7184481
Modified date:
12 March 2025
UID
ibm17184481