Hi Muhammad -
A 404 indicates that a resource was not found, in your case, the service being invoked. However, the "Access denied" error could perhaps point to a different underlying root cause. A couple of things to consider:
- Since you're not using a standard port, make sure that the service being executed is in the Allowed list of port 6643.
- Ensure that the Administrator user belonds to the ACL that is mapped to that service's execute ACL.
If neither of these resolve the issue, then please share the URL that you're using from Postman, a screenshot of the endpoint exposed in the API Gateway, and share the fully qualified name of the service being executed in your Integration Server.
HTH,
Percio
https://nibl.tech
------------------------------
Percio Castro
------------------------------
Original Message:
Sent: Fri October 25, 2024 03:47 AM
From: Muhammad Aznul Aiman Bin Hazli
Subject: Error while invoking service from Postman
Integration Server and API Gateway. version:10.15
Hi guys, I received an error where;
- APIGateway:"[POL:straightThroughRouting]O---> Exception : Exception during mediation: com.softwareag.pg.exceptions.PGException: Native service provider error. Code : 404 " and
- from IS server log "2024-10-25 15:19:29 SGT [ISS.0053.0002C] (tid=27625) Access denied for user Administrator on port 6643 -> ''service name'"*
- error from Postman "API Gateway encountered an error. Error Message: Native service provider error. Code : 404. Request Details: Service - processAccLocalPartService, Operation - /processAccLocalPartService, Invocation Time:3:19:29 PM, Date:Oct 25, 2024"
------------------------------
Muhammad Aznul Aiman Bin Hazli
------------------------------