Skip to main content
Question

Getting response code 400 in https://api.revenuecat.com/v1/subscribers/{app_user_id}/subscriptions/{product_identifier}/revoke

  • January 27, 2022
  • 1 reply
  • 246 views

Forum|alt.badge.img+2

Hi running into this error when using the Refund and revoke a Google Subscription

https://api.revenuecat.com/v1/subscribers/{app_user_id}/subscriptions/{product_identifier}/revoke

I’m getting a Response code of 400 with this body 

{
  "code": 7227,
  "message": "Content-Type not application/json"
}

I can confirm that the transaction did go through here’s the sandbox log

 

Now here’s my request

Note: I’ve removed the token for security purposes 

 

Hope someone can help!!

This post has been closed for comments

1 reply

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • January 28, 2022

Hey @Dean Villamia 

Can you try running the cURL in Postman? Endpoints that use a secret key are a bit finicky with the ‘try it’ button in the docs.