cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Backend error - SAP HANA Graph viewer

Sharadha1
Active Contributor
0 Kudos
359

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

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