Mag+ Subscription API - Lint Test Error Messages

The Mag+ Subscription API Lint Test allows you to test your endpoints when implementing a custom entitlements solution.

Important Information

How to Access the Mag+ Subscription API Lint Test

1. Login to the Mag+ Publish portal at <https://publish.magplus.com>.

2. Click on the tab labeled "Admin".

3. Click on the link labeled "Subscription API".

4. In the header description, click on the link "lint test".

5. You will be directed to the Lint Test page where you can enter the necessary values for testing.

Possible Error Messages

Note: Error messages returned by the Lint Test are only triggered by improper HTTP 200/201 responses. Responses from the API must be in JSON format, and a successful API call must always return a 2xx HTTP response code. A response code other than 200/201 will be interpreted as a failure. In a 200/201 response you should not include any error messages.

Error: "Doesn’t have an array of entitlements."

Solution: You should always return a JSON array called entitlements. If the user has no entitlements then the list should be empty, not missing. If the API call is not successful, do not return a 200/201 response.

Error: "Doesn’t have a status of OK."

Solution: You have forgotten to include {"status":"OK"} in your response. If the API call is not successful, do not return a 200/201 response.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk