cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the header Authorization with Bearer token in HTTA Adapter call

former_member416544
Participant
0 Kudos

Hi All,

I have created an HTTA adapter call atom in B1IF 2.0 version to request the 3rd party REST APIs, In HTTA call payload I set httpheader.Authorization with Bearer toekn value.
While I executed the B1IF scenario step B1IF returned the Error while performing HTTP call; HTTP status is 403, null error message.

<htta>
                            <par id="httpheader.Authorization" value="Bearer xxxxx-xxxx-xxxx-xxxx">
                                <!--optional - you can specify here your own http header definitions - multiple elements allowed-->
                            </par>
                           
                        </htta>

Could you please suggest how to set the Authorization bearer token in HTTA call.

Thanks,

View Entire Topic
ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear lynap & gadicherla,

Check if this thread helps you?

How to set Bearer Token for HTTP Call with both B1if 1.0 and B1if2.0

Kind regards,

ANKIT CHAUHAN

SAP Business One Support