cancel
Showing results for 
Search instead for 
Did you mean: 

Error: found in negative cache / failed to load

former_member213400
Active Participant
0 Kudos

Hi Folks,

I have been extending the Report Quality Issue (UI_QM_CREATE) fiori app.

Tried in two ways,

1. Web IDE

As per the App Extensions guide i have been extended the app and tested the Extension application by choosing the index.html.

here am facing the error, please find the below image.


2. Eclipse IDE


Here, standard application imported into Eclipse IDE.

While Executing the application from Fiorisandboxaunchpad am getting below error.

Not extension application directly am executing imported standard application from sandbox launchpad.


Please help me out to extend the application.

Regards,

Kiran.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

You're error states the response status as 403, which usually means you don't have the permissions to access the resource. In the first place, did you try importing the standard app into the web ide & run it successfully ?

-Sakthivel

former_member213400
Active Participant
0 Kudos

Hi Sakthi,

Thank you for the reply.....

I have tested the standard application, it is working fine i haven't faced any problem. But when am testing the Extended application am getting the error "failed to load Component.js".

If you check the above replies(9th reply exclude first one) i have clearly explained one case-study. In case-study explained about neo-app.json files of both standard & extended applications.

Please let me know if you want to check anything at my end.

Regards,

Kiran.

Former Member
0 Kudos

Hi Kiran,

have you solved the issue with the response status 403? Can you eventually share the solution with us?

Thanks and regards,

Chris

Former Member
0 Kudos

Team

We have same issues in our Test environment. It works with few but not everyone in IE11.

Please advice if anyone resolve this.

Thank you

Santosh

former_member213400
Active Participant
0 Kudos

Hi

Thank you for the reply in advance......

Problem is after extending the standard application in Web IDE, we trying to view the Application preview by choosing "index.html" and clicking on the "Run" button. I checked in console, the error is

"Uncaught Error: failed to load 'i2d/qm/qualityissue/confirm/UI_QM_CREATEExtension/Component.js' from ./Component.js: Error: failed to load 'i2d/qm/qualityissue/confirm/Component.js' from /sap/bc/ui5_ui5/sap/UI_QM_CREATEExtension/Component.js: 403 - Forbidden"


Please suggest us.

Regards,

Kiran.

michal_keidar
Active Contributor
0 Kudos

Hi,

Have you made any changes in the neo-app.json file of the extension project?

Perhaps you can attach your application?

former_member213400
Active Participant
0 Kudos

Hi Michal,

Thank you for the fast reply.

No, i haven't changed in neo-app.json file even i did not ouched any of the file in Extension project, simply extended the standard app.

here steps i have followed to extend the std. app,

1. Click on "File->New->Extension"

2. Dialogue window will open

3. Click on "Remote" button and selected "SAP ABAP Repository"

4. Then one mini dialogue window will open

5. Selected the System as my Gateway system, so that it will display the list from my gateway server/system.

6. From the list, selected the application "UI_QM_CREATE".

7. To complete the process Click on OK and Finish buttons.

so that my main project & extension project will create in IDE project pane.

Once extension project created, chosen the "index.html" file and clicked on "Run" button. The Application Preview will open in new tab.

These are the steps i have followed, if anything missed in the process please let me know.

Regards,

Kiran.

michal_keidar
Active Contributor
0 Kudos

Can you attach a screen shot of your configured destination?

former_member213400
Active Participant
0 Kudos

Hi,

Please find Destination Configuration details screenshot,

Regards,

Kiran.

michal_keidar
Active Contributor
0 Kudos

I wasn't able to reproduce. Maybe it's an issue with the version of the application. If you want you can send me an email and share your screen and I'll try and assist.

former_member213400
Active Participant
0 Kudos

Hi Michal Keidar,

I have sent you mail regarding your availability.

As per your availability we will plan, please let me know.

Regards,

Kiran.

former_member213400
Active Participant
0 Kudos

Hi Michal,

Thank you for the reply in advance........

I found something in the way to fix this issue, am sharing what i have done it.

In Destination Table,

List of entries in Destination table is

1. client1

2. ecd

3. MOD

4. ui5dist

5. ui5dist-test-resources

These are the entries in Dest. table, 1, 2, & 3 are the three different gateways systems.

Currently am using the MOD system, so when am trying to extend the std. application "neo-app.json" having below code, which is i felt its wrong.

Extension Project Code of neo-app.json file:

{

  "welcomeFile": "index.html",

  "routes": [

    {

      "path": "/sap/opu/odata",

      "wattUsage": "odata_abap",

      "target": {

        "type": "destination",

       "name": "ecd",

        "entryPath": "/sap/opu/odata"

      },

      "description": "ecd"

    },

    {

      "path": "/sap/bc/ui5_ui5",

      "wattUsage": "ui5_execute_abap",

      "target": {

        "type": "destination",

        "name": "ecd",

        "entryPath": "/sap/bc/ui5_ui5"

      },

      "description": "ecd"

    },

    {

      "path": "/resources",

      "target": {

        "type": "service",

        "name": "sapui5",

        "entryPath": "/resources"

      },

      "description": "SAPUI5 Resources"

    },

    {

      "path": "/test-resources",

      "target": {

        "type": "service",

        "name": "sapui5",

        "entryPath": "/test-resources"

      },

      "description": "SAPUI5 Test Resources"

    }

  ]

}

but Std. app code of neo-app.json file contains

{

  "welcomeFile": "index.html",

  "routes": [

    {

      "path": "/sap/opu/odata",

      "target": {

        "type": "destination",

        "name": "MOD",

        "entryPath": "/sap/opu/odata"

      },

      "description": "MOD"

    },

    {

      "path": "/resources",

      "target": {

        "type": "service",

        "name": "sapui5",

        "entryPath": "/resources"

      },

      "description": "SAPUI5 Resources"

    },

    {

      "path": "/test-resources",

      "target": {

        "type": "service",

        "name": "sapui5",

        "entryPath": "/test-resources"

      },

      "description": "SAPUI5 Test Resources"

    }

  ]

}

The difference is  /sap/opu/odata & /sap/bc/ui5_ui5 paths contains "ecd" in extension file. actual system is MOD.

For this, i tried one case-study.

Case-study

Created one new HANA trial account

In Destinations i have maintained MOD, ui5dist, & ui5dist-test-resources entries.

and in the HANA connector i have maintained the MOD

MOD resources details

after that i have extended the std. application as per the guide/above steps.

Then i got the below error

Kindly let me know if do not understand.

please suggest me if i did any mistakes from the case-study.

Regards,

Kiran.

michal_keidar
Active Contributor
0 Kudos

Hi,

According to the error I think this might be an issue with the application. But I'll have to ask its developers.

Regarding the first issue, how did you extend the application in Web IDE? Did you go to File->New->Extension Project->Remote and selected ECD system or MOD?

And how did you import the parent application? Using File -> Import -> Import from SAPUI5 ABAP Repository and which system did you select?

If I understand you correctly, you either extended the app from MOD and got ECD in its neo-app.json, or you imported the parent app from ECD and got MOD system in its neo-app.json.

Which one is the case?

Also, in your cloud connector, both ECD and MOD are configured right? If I remember correctly there's a restriction on trial accounts that there can be only 2 systems configured.

former_member213400
Active Participant
0 Kudos

Hi Michal,

Okay Michal once you confirmed with developer please let us know.

@First Issue

Yes, as you written

go to File->New->Extension Project->Remote and selected MOD system.

once i selected MOD, below it will display the list of applications from the server.

So i chosen "UI_QM_CREATE" application.

@parent application

While extending the Std. application there is check box "Import parent application", we selected that check box so that std. application also imported into my WebIDE workspace along with the Extension project.

@Understanding

For this question you can get the answer from above paragraph.

Yes, absolutely right. in HANA cloud connector there is a restriction for the "Access Control".

We have a restriction to maintain, maximum is two Virtual Hosts.

But my guess is problem is not in the Cloud Connector, it is with Destinations in the HANA Account/Cockpit.

Important Info.

This UI_QM_CREATE application is available in MOD system, we haven't implemented in ECD system.

There is no chance to import the application from the ECD system.

Regards,

Kiran.

former_member213400
Active Participant
0 Kudos

Hi ,

I have tested multiple times by maintain two different gateways systems in destinations table, its is giving same error "failed to load Component.js - 403 fobidden" to make sure that.

If this is the case, developer going to work for different clients. so for every client they have their own gateway systems. We have a query with respect to the Licensed version product.

Can you please let us know regarding this query.

Can you please mark Correct Answer, so that we can close this thread.

Regards,

Kiran.

michal_keidar
Active Contributor
0 Kudos

Hi Kiran,

In the neo-app of the extended app, if you change "ecd" to "mod" system, does it work?

michal_keidar
Active Contributor
0 Kudos

Hi Kiran,

Sorry I must have deleted your mail by accident or something because I can't find it. Can you send it again please?

former_member213400
Active Participant
0 Kudos

Hello Experts,

We stuck with above errors.

Kindly suggest us, to take it forward.

Thanks in advance.

Regards,

Kiran.