Skip to Content
author's profile photo Former Member
Former Member

[UI5 BPM-Task 403 Forbidden] Combination BPM OData and UI5 Task produces error

Hello,

I have developed a UI5 task for a BPM process but there is a confused error: 403 Forbidden.

To the workflow:

  1. the BPM Task runs
  2. the token enters the UI5 task with no problems and the task is shown with data of process.
  3. then the user completes the task by pressing the button, the 403-Forbidden error is thrown

But why? 😕

https://help.sap.com/saphelp_nw73ehp1/helpdata/en/f5/4193ee8dd44569b1dbee8c7a8271f4/content.htm

This link does not help. All roles are assigned to TaskProcessor role and this role to each user.

If the user has no permissions to work with data, the 403 would be thrown at beginning while entering.

But there is no error. In response, there is no "x-csrf-token" in header, so I add it manually by claiming.

Thanks for replies in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 14, 2016 at 09:34 AM

    BPM OData cannot handle anonymous types in output.

    • In Input, the OData Service can handle this kind of XSD types but it creates EDM with "::".
    • In Output, this "::" were translated in URIs and URIs cannot handle "::". 🤯

    This throws an Exception and it is impossible to send data back to your BPM Process or you get a 403 Forbidden.

    You can observe your network traffic in debugging tools of e. g. Firefox. There is a Request with result code 500. This Service throws the URI Error. In an correct way, this should be 200.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.