generate-qr-code return error: The requested media type is not supported
gentlemen510
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-14-2021
12:09 PM
trying to generate QR code from PayPal sandbox but it always return error with "
The requested media type is not supported".
I have below HttpContent media type setup, it worked for others PayPal invoicing API calls but not the generate QR code API calls.
var json = JsonConvert.SerializeObject(message);
content = new StringContent(json, Encoding.UTF8, "application/json");
content = new StringContent(json, Encoding.UTF8, "application/json");
Please help and advises. Thanks.
Labels:
- Labels:
-
Invoicing REST APIs
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- [UNPROCESSABLE_ENTITY], but payment went through in PayPal Payments Standard
- Request pay between accounts in REST APIs
- Enable the "Billing Address Request" feature in Payflow
- Getting an error when trying to create an order. in REST APIs
- Getting this error from paypal , popup closing automatically itself when it opens in SDKs