cancel
Showing results for 
Search instead for 
Did you mean: 

Rest API v1 Getting Error 400 bad Request

0 Kudos

Hi,

we have a very strange problem. We are using a custom JAVA WebDynpro UI for doing our approval workflows, and are making an upgrade from NW Version 7.0 to 7.31 (finally ). We have upgraded the DEV System without any troubles everything works fine with NW 7.31.

In the PROD IDM we have this scenario:

We have a Sandbox NW UI that was now upgraded to 7.31 and the PROD UI which still runs on 7.0. Both UIs have the PROD IDM DB linked.

There are several approval steps with a custom Request Object in our workflows.

Some approval steps work without any problems with the 7.31 UI, but in some steps we geht the Error 400 bad request from the REST Interface.

When I approve the same approval with the 7.0 UI it works fine. We also debugged the REST Call, which is sent to the rest service and can't find any differences, it looks like this:

http://<hostsbx>/idmrest/v72alpha/approvals/1568881/entries/545283/tasks/101870?APPROVED=TRUE which does not work

and

http://<hostprd>/idmrest/v72alpha/approvals/1568881/entries/545283/tasks/101870?APPROVED=TRUE which does work

There are other tasks which work with both UIs.

What else could we check?

BR,

Andreas

Accepted Solutions (0)

Answers (1)

Answers (1)

Chenyang
Contributor
0 Kudos

Hi Andreas,

Have you tried this note?

Unauthorized Use of Application Functions in REST Interface

http://service.sap.com/sap/support/notes/1806098

You can also temporarily turn off the protection like this to verify the connection is still working?

Cheers,

Chenyang Xiong

0 Kudos

Hi,

thanks we also made the changes described in the note, which works on DEV fine.

It is strange that one approval task works and the other not, so I think the problem might not be in the NW Configuration?

BR,

Andreas