cancel
Showing results for 
Search instead for 
Did you mean: 

Could not find an entity set or function import for '/A_PurchaseOrder

Sean
Explorer
0 Kudos

Hi Everyone, 

I got the below error message in the monitor message processing after I've deployed the iFlow "PurchaseOrder".

Error Message:
org.apache.olingo.odata2.api.uri.UriNotMatchingException: Could not find an entity set or function import for '/A_PurchaseOrder'.

I've followed all the steps mentioned in the SAP Learning - Consuming API from SAP API Business Hub

Please help me. Thanks. 

Regards,
Sean

 

jannes_schofeld
Product and Topic Expert
Product and Topic Expert

Hi Sean,

could you post screenshots from your Connection  and Processing tabs where you made the Address and Resource Path settings? Sounds like the specified endpoint could not be found.

Thanks and best regards,

Jannes

Sean
Explorer
0 Kudos

Hi @jannes_schofeld,

I've follow the guide and used the same URL mentioned in the learning hub. 

Step 19:
Sean_0-1638863922183.png
Step 20:

Sean_1-1638863989268.png

Regards,
Sean

 

View Entire Topic
markushaug
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Simon,

can you add a ".npmrc" file in your project root directory? And add the following line there:

"registry=https://registry.npmjs.com/"

Like in the starter template: https://github.com/SAP-samples/btp-side-by-side-extension-learning-journey/blob/main/.npmrc

 

"npm ERR! network request to http://nginx-redirector.repo-cache.svc.cluster.local/repository/appstudio-npm-group/@sap/audit-loggi... failed, reason: getaddrinfo ENOTFOUND nginx-redirector.repo-cache.svc.cluster.local"

As you can see, npm is not finding the package. If the explicit definition of the registry won't help, I also suggest removing the node_modules folder and the package-lock.json file and run "npm i" again to get a fresh package-lock-json in your project.

simonpolovina1
Participant

Hi Markus. In the event, I reworked the exercises in the Automated Deployment unit, and it worked. Nonetheless, your above answers gave me insight into the structure and potential issues. Most valuable - thanks! Simon

markushaug
Product and Topic Expert
Product and Topic Expert
0 Kudos
Okay great. You're welcome!