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

HTTP_RESP_STATUS_CODE_NOT_OK -403 Forbidden

Former Member
0 Likes
1,524

Hi,

In my RFC-Jbdc scenario. I got the following error:

<b><SAP:Stack>HTTP response contains status code 403 with the description Forbidden Error when sending by HTTP (error code: 403, error text: Forbidden)</SAP:Stack>

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>

<SAP:P1>403</SAP:P1>

<SAP:P2>Forbidden</SAP:P2></b>

I tried to look into the previous threads, not of much use.

403 error means, not activated, so I looked into my SICF/defaulthost/sap/xi/engine, maintained XISUPER uID and Pwd.

That didnt help anything.

So, any SAP Notes and help?

Thanks,

Raj.

View Entire Topic
sam_raju
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Raj,

It looks like you have authorization problems with your XISUPER. In the visual administrator and in ABAP SU01, make your XISUPER has all the necessary(SAP_SLD* and SAP_XI*) roles assigned to it. If not, try to assign these and see if this can be of any help.

Rgds,

Sam Raju

Former Member
0 Likes

Hi Sam and Abhy,

I checked in SU01, these are the roles that I missed.

SAP_XI_APPL_SERV_USER.

SAP_XI_DISPLAY_USER_J2EE.

SAP_XI_IR_SERV_USER.

SAP_XI_IS_SERV_USER.

Abhy, I havent created any http destinations in R/3. I have created one RFC DEST of type TCP/IP. Thats all I did. Do I still need to create an http destination?.

Thanks,

Raj.

sam_raju
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Raj,

Also check the roles on J2EE for the user XISUPER using Visual Administrator.

Rgds,

Sam Raju

Former Member
0 Likes

Hi Raj -

In additon to Sam's suggestions, check on the XIAFUSER. I assume that you're seeing this error in SXMB_MONI and the error is being triggered on your call to the adapter. Check that XIAFUSER is not locked as well.

Also, in a browser, check the following link:

http://<xiserver>:<j2ee-http-port>/MessagingSystem/receive/AFW/XI

to see if you get the same error.

Regards,

Jin

Former Member
0 Likes

Jin,

XIAFUSER is not locked. But when I try to access that URL, I am getting same error '403 forbidden'.

Thanks for the help.

Best Regards,

Raj.

Former Member
0 Likes

Hi Raj -

Using Visual Admin, make sure the adapter related services (e.g. SAP XI*) are up, especially, SAP XI AF Messaging. Given that it's a 403, and not 503, it should be.

I know that these were discussed earlier, but confirm that the following users have the following roles:

XIISUSER SAP_XI_IS_SERV_USER_MAIN

XIAFUSER SAP_XI_AF_SERV_USER_MAIN

and that their profiles are properly generated. As Sam mentioned earlier, the 403 indicates an authorization related problem.

Regards,

Jin

Former Member
0 Likes

Hi Jin,

I checked both XIISUSER AND XIAFUSER has both the roles u mentioned and I could see the Green Light. I will now need to add the roles that I missed, and check in Visual Admin.

Thanks-a-lot.

Best Regards,

Raj.