Skip to main content

Hi

I’m trying to grant promotional with REST API.(https://api.revenuecat.com/v1/subscribers/{app_user_id}/entitlements/{entitlement_identifier}/promotional

 

docs: https://www.revenuecat.com/docs/api-v1#tag/entitlements

 

But I received error with 404.

qraw error message]

{status: 404, statusText: 'Not Found', headers: AxiosHeaders, config: {…}, request: ClientRequest, …}

 

What could be the cause of this error?

rAlready Confirmed Topics]

Sorry. Here I solved it myself.

I was accidentally setting entitlement.id (e.g. “entlXXXXXXXXXX” ) for {entitlement_identifier} instead of entitlement.lookup_key (e.g. “premium”)


@ymdkit Glad you solved it! Let us know if we can help with anything else.