cancel
Showing results for 
Search instead for 
Did you mean: 

XSJOB not able to access file

0 Kudos

Hi,

I have an xs job running, which is supposed to execute a function from a xsjs file. But the job shows up error saying - "Access to source denied (404)"

Any pointer as to why?

I have granted the role : sap.hana.xs.admin.roles::JobAdministrator to my user. Anything I have missed?

Thanks & Kind regards,

Reshma

Accepted Solutions (0)

Answers (2)

Answers (2)

dkle
Participant
0 Kudos

Hello,

I had this problem, too, while trying to trigger a procedure within an XS job.

Root cause: wrong syntax of the "action" parameter within the XS job file.

Wrong syntax (one colon and with file extension; this is the so called 'qualified name' of the procedure):


"action": "system-local.public.DXC:DXC_HISTORY_SIZE_DELETE.procedure"

This gave the following error at job execution:


Access to source /system-local/public/DXC/DXC_HISTORY_SIZE_DELETE.procedure denied (404)

Correct syntax (two colons without file extension):


"action": "system-local.public.DXC::DXC_HISTORY_SIZE_DELETE"

Structure of the corresponding repository tree:

I hope this helps.

Regards

Daniel

Former Member
0 Kudos

Hi Reshma,

I am currently facing the same problem.

I have added all the xs.admin roles to my user and still the same erroer.

Did you manage to solve it? If yes, please advise.

Thanks,

Vincent