Skip to main content
Solved

Where can I see all error codes sent by the RevenueCat REST API?

  • August 20, 2021
  • 1 reply
  • 78 views

Forum|alt.badge.img+1

I’m receiving the following error message and I would like to check other situations where I can handle such errors, but I couldn’t find anything, no article nor documentation.

{
    "code": 7242,
    "message": "No promotional entitlements to revoke for this subscriber."
}

Is there a way to receive all possible error codes and their meaning so that I can better handle it when communicating with the REST API and avoid unnecessary errors?

Best answer by sharif

We currently don’t have any public documentation regarding API error codes, but we definitely should! I’ve added this to our documentation backlog and will write up a guide on this. As a partial workaround, you could take a look at our SDK code for some error codes, but note that they won’t include uncommon codes like the promotional entitlement error you shared in your message.

View original
Did this post help you find an answer to your question?

1 reply

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • Answer
  • August 21, 2021

We currently don’t have any public documentation regarding API error codes, but we definitely should! I’ve added this to our documentation backlog and will write up a guide on this. As a partial workaround, you could take a look at our SDK code for some error codes, but note that they won’t include uncommon codes like the promotional entitlement error you shared in your message.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings