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

HTTP 403 Forbidden error when posting a https url from postman to CPI

PushpalathaP
Explorer
0 Kudos
5,100

Hi All,

I have created an iFlow with HTTPS sender and used the end point url from postman to post JSON request. I am ended up with an error "HTTP Status 403 – Forbidden"

1. I have disabled CSRF checkbox in sender channel

2. iFlow is in Started status

3. Used basic authentication in Postman

Please let me know if I am missing anything here.

Thanks,

Pushpa

Accepted Solutions (0)

Answers (3)

Answers (3)

PriyankaChak
SAP Champion
SAP Champion

Hi Pushpa,

Have you assigned role ESBMessaging.send to your username?

If not, go to your btp account -> sub account -> security

1. Create a new role collection with any name for example: CI_Messaging_Role.

2. Add role 'MessagingSend' to that role collection.

3. Assign that role collection to your userid.

Regards,

Priyanka

oMiles
Explorer
0 Kudos

Thank you Priyanka.
As a beginner, this 403 error has troubled me for a fow hours.
But it was you who ultimately provided me with a simple and correct solution.

AmanJain
Explorer
0 Kudos
Thanks a lot Priyanks, this is a essential step. This helped me get around 403 error.
former_member724290
Participant

Hello Pushpa,

Remove the checkbox for the HTTP incoming connection.

madhubabuadari
Newcomer
0 Kudos
Hi pushpalata , I suggest you to close the entire session. Login again and check now. Also disable the CSRF Protected Checkbox
Sriprasadsbhat
Active Contributor

Hello Pushpa,

Can you try Get call and also make sure you are copying end point from monitor integration artifact tile ( also using client id & client secret with proper roles ).

Regards,

Sriprasad Shivaram Bhat

PushpalathaP
Explorer
0 Kudos

Hi Sriprasad,

Thank you for your response.

I have taken endpoint url from Manage Integration Content tile and currently using my username and password to login CPI tenant as basic authentication credentials in Postman.

Even for GET call also, getting same status HTTP 403 Forbidden.

using User Role as ESBMessaging.send in sender channel.

Since I am using basic authentication, do I need to use client Id / client secret as username /password in Postman?

Regards,

Pushpa