Overview
While configuring the Oracle ERP Event Subscriber Adapter in OIC, an error occurred when opening the adapter configuration page.
Observed Error:
GENERIC - java.io.IOException: Error retrieving access token
The issue appeared while subscribing to the ERP event:
Subscribed Event: Payment File Created
Error Snapshot
Oracle ERP Cloud Trigger → Error retrieving access token
Root Cause Analysis
After investigation, we observed that the ERP connection referenced by the integration was not using a local project connection.
Instead, the adapter was pointing to an ERP connection shared from another common project.
Because of this:
Access token generation failed during adapter initialization.
Event metadata could not be loaded.
ERP Event Subscriber configuration screen returned the generic access token error.
Resolution
The issue was resolved by creating and using a local ERP connection inside the current OIC project.
Steps Followed
Open the OIC project where the integration exists.
Create a new Oracle ERP Cloud Connection locally.
Configure authentication and test connectivity.
Replace the shared/common project connection with the newly created local connection.
Reopen the ERP Event Subscriber Adapter configuration.
Result
After switching to the local ERP connection:
ERP Event Subscriber opened successfully.
Event metadata loaded correctly.
Subscription configuration completed without errors.
Key Takeaway
When configuring ERP Event Subscriber Adapter in OIC, if you encounter:
java.io.IOException: Error retrieving access token
verify whether the integration is consuming an ERP connection from another project. Creating and using a local ERP connection may resolve the issue quickly.

No comments:
Post a Comment