Question

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

  • 27 January 2022
  • 1 reply
  • 130 views

Badge +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!!


1 reply

Userlevel 5
Badge +10

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.

Reply