Importing an App to Fiori Launchpad - Error - sapui5

So I'm having this problem with the My Leave Requests App (V.2) for SAP Business Suite. I'm trying to import it to 'my' Fiori Launchpad (image 1) but I'm having this error and I cannot solve it. I've searched about it but I couldn't find anything that helped me.
App on Fiori Launchpad:
The ERROR:
Any help will be appreciated :)
Thank You for your time.

Try /IWFND/CACHE_CLEANUP for the gateway and /IWBEP/CACHE_CLEANUP for the gateway and the backend.
Try /UI2/CHIP_SYNCHRONIZE_CACHE. Afterwards run /UI2/CHIP_CHDR and check it for errors.
Try /UI2/DELETE_CACHE_AFTER_IMP. Afterwards run /UI2/DELETE_CACHE.
Try /UI5/UPDATE_CACHEBUSTER. Afterwards run /UI2/INVALIDATE_GLOBAL_CACHES.
And did you activate the services? Run SICF and check if /sap/bc/ui5_ui5/sap/hcm_lrq_cre is activated. Same for BSP. Run SICF and check if sap/bc/bsp/hcm_lrq_cre is activated.

I am guessing this is due to the corresponding node is not active in Tcode SICF.
You get 403 error in such a case.

Related

Vercel: Task timed out after 10.01 seconds

I recently deployed a Next.js application for a software engineering boot camp. I am using Vercel for hosting the web app. The problem I am having has been spoken about on the internet before. However, I couldn't find much helpful information.
When I look at the real-time logs for my application from my Vercel dashboard, a 504 error gets thrown for multiple API routes I have created. I am aware that Vercel places restrictions on requests depending on the hosting plan someone subscribes to. However, I can't help but wonder if I have overlooked an important step when deploying my application.
When deploying my application, I did the following things:
Connected a session store to my MongoDB database.
Created a password-protected MongoDB Atlas account (credentials are environment variables).
White-listed all IP addresses so that any user can interact with their portion of the database.
I would appreciate help finding out if these errors are my fault and if there is anything I can do about them or if they are solely caused by the restrictions of the "Hobby" plan.
Thank you very much in advance,
-Sam
Screen Shot:
I had a similar issue, turned out, it was just the fact that I did not add the vercel ip addr to the network access page on mongodb so momgodb was blocking vercel from accessing data.
You need to integrate MongoDB in your project on Vercel.
Go to your project settings in Vercel and go to the Integrations tab. Click the Browse Marketplace button and find MongoDb. Click Add Integration button and follow the instructions.
Hope this helps... I know this was asked quite a while ago.
You have to troubleshoot the issue by doing the following
Eliminate the NextJS app out of the equation - Using postman https://www.postman.com/downloads/ - Confirm the output of your API, what is the time the API takes? Given function invocation has a limit, you need to optimize the API to meet the threshold.
If the API times are fine and resolution occurs outside of your app, the next step is to troubleshoot the API route, remove the DB parts and just echo back a success message and check the function invocation time.
If #2 turns out to be the issue, reach out to vercel support - Another option could be hosting it outside and whitelisting the cross domain API ask from your application.

SAPUI5 Can't run local Fiori Application properly from VS Code

We used this tutorial to start developing Fiori apps with VS Code:
https://blogs.sap.com/2020/07/16/developing-sap-fiori-app-using-sap-fiori-tools-in-visual-studio-code/
Everything works fine so far, except the connection to the backend services. When we want to start the application locally we get the following error by getting the OData metadata.
Our server config in ui5-local.yaml:
Before switching to VS Code we used the local WebIDE which worked fine. So I guess there is no configuration on the SAP system which blocks the request.
Did anyone face the same issue and has a solution for us? I searched online and couldn't find anything that fits our problem.
Thanks a lot for any hints.
try this npm install ui5-middleware-proxy-basicauth --save-dev
Are you by any chance in corporate network which uses Self-Signed Certificate. If so npm might fail. Change the ignoreCertError: true and give it a try.

Custom Fiori error when accessed from launchpad but not from SE80 (direct BSP test)

I am working on a custom fiori project, when I try to test directly from BSP via the SE80 tcode and click test, Fiori runs well. But when I deploy it to launchpad there is an error.
I got an error "adding element with duplicate id 'App'."
This error has indeed happened but I have fixed it and according to BSP through SE80 there are no more errors.
My question is, Is there a cache that hasn't been updated from the launchpad side? How I can fix it ? Please Help Thanks...

Error Accessing Bluemix Node-RED Editor

I'm using Node-RED Starter to build my app. My app URL can be accessed here.
should appear on my browser, but I got an
instead.
The app however seems to be working fine on my dashboard. Can anyone point me in the right direction? Thank you.
Your app is throwing a 500 error which basically means that your app is very much broken. How did you build it? Which starter did you use?
As you are running in the IBM Cloud, I would drop what you already have, and recreate using the starter from the IBM Cloud catalog. Unless of course if that is what you used to create it in the first place. In which case as per the other suggestions look at the server side logs, from the options on IBM Cloud for your application.

Single Sign On service hangs when configuring it

I am trying to create and configure the Bluemix Single Sign On service and I am facing issues.
I create it unbound of any app, and when trying to setup it on the first dialog (provide a service name which will be part of its URL) it gets hanged. The browser is unresponsive for 1 minute or so and finally it fails with error message: "env: Client internal Error"
I am facing the same issue with Firefox 38.0.5, Chrome 43.0.2357.81m and IE 11.0.9600.17801
Any suggestion? Searching the forums I found as recommendation to clean browser cache and cookies. I already did it with no success.
EDITED: In parallel, I added as manager and developer another colleague to my Bluemix Space and it worked fine to him. So it seems it fails with my user which also is manager and developer but it exists in other spaces, etc...
Any thing I can check to narrow the issue?
Thanks!
on yesterday there have been a maintenance/upgrade activity so probably it your problem could be related to this.
Could you check again if it is working right now?