cancel
Showing results for 
Search instead for 
Did you mean: 

Backend error - SAP HANA Graph viewer

Sharadha1
Active Contributor
0 Kudos

Hi,

I have installed the delivery unit for Graph viewer on a MDC in the HANA trial account. I am not able to view the graph workspaces. When I tried to view the URL for graph viewer, I get Backend error:error. On analysing using the developer tools, I found that the error was http 403 and debugged further to find that the CSRF token which comes from the Get request (for the file csrf.xsjs) is not working for the file graphrequest.xsjs.

I have not done any changes to the standard delivery unit and it is out of the box. I found a thread with the same issue (https://answers.sap.com/questions/73601/graph-viewer-not-working.html) but it is unanswered. Can anyone help?

Thanks,

Sharadha

0 Kudos

Hello Sharadha,

You will need to supply more information to receive any help.

Please explain what is the error you get, when do you get it, and the system/landscape information we may use to understand the issue.

Sharadha1
Active Contributor
0 Kudos

Poonam,

The error I got was "Backend error:error" as mentioned in my question. no other information or detail comes up with the error. This happened in HANA MDC in the SCP trial account as mentioned above. I am using the standard delivery unit for graph viewer from SAP.

Let me know what more information is required.

Thanks.

Sharadha

Accepted Solutions (0)

Answers (1)

Answers (1)

Sharadha1
Active Contributor

Work around

I am learning the basics of HANA graph using the graph viewer. This seems to be CORS related error. I set the CORS enabled to true in the .xsaccess file for now to get around this issue. I am able to access graph viewer now.

Thanks,

Sharadha

former_member588482
Discoverer
0 Kudos

Hi, could you please share the steps to implement this workaround?

thanks in advance,

Johan

Sharadha1
Active Contributor

Sure. Hope you have imported the delivery unit into your HANA DB. After the import, the package for graph viewer application will be visible under Content folder. Go to sap/hana/graph/viewer folder and open .xsaccess file. Set the enabled attribute of CORS parameter to true.

you can refer the screenshot below. I am not sure if this is recommended but this is the only way i was able to proceed with it.

-Sharadha

former_member588482
Discoverer
0 Kudos

Hi Sharadha,

thank you very much, it worked.

I'm now able to open the graph viewer correctly.

Regads,

Johan