New to the community? Welcome! Please read our Community Rules and Guidelines
Join the live Q&A with our Community moderator team Wednesdays, 1-2pm PT (4-5pm ET) and Fridays, 4-5pm GMT. Learn more in Community Events
I am getting the given below error message while making a call to https://api.sandbox.paypal.com/v1/oauth2/token/ api from classic asp.
msxml6.dll (0x80090326)The message received was unexpected or badly formatted.
I am using given below code:
Set xmlhttp = server.createObject("MSXML2.ServerXMLHTTP.6.0")url = "https://api.sandbox.paypal.com/v1/oauth2/token/"xmlhttp.open "POST", url, false
xmlhttp.setRequestHeader "Accept", "application/json"xmlhttp.setRequestHeader "Accept-Language", "en_US"
xmlhttp.setRequestHeader "Authorization", "Basic "& Base64Encode(client-id&":"&secret-key)
Error is produced at
line of code.
Thanks in advance
©1999-2018 PayPal, Inc. All rights reserved.