API documentation

Below are the error codes sent back by the API.

90 - Rate limiting errors

Code Message
99 Too many requests.

100 - Authentication errors

Code Message
101 Invalid signature
102 Invalid endpoint.
103 Invalid account type (a PREMIUM or PLATINUM account is required)
104 Invalid API key.
105 Invalid account API key.
106 Request expired.
107 Access denied.

200 - Account errors

201 Unknown account id

300 - Request errors

301 Unknown account login.
302 Missing or incorrect parameter.
303 Document upload spam error

400 - Subscription errors

401 Unknown subscription ID.

500 - Publication errors

501 Unknown book ID.
502 Book not activated
503 Publication is not private.
504 Publication is not published.
505 Publication is not revised.
506 Publication is not updated.
507 Publication is not deleted.
509 Publication's private URL not renewed.

600 - Subscriber errors

601 Unknown subscriber ID.
602 The subscriber has not been added.
603 The subscriber has not been updated.
604 The subscriber has not been activated.
605 The subscriber has not been deactivated.
606 The subscriber has not been unsubscribed.
607 The subscriber has not been deleted.
608 The subscriber session has not been created.
609 The subscriber session has not been deleted.
610 Unknown subscriber session ID.

800 - Subscriber DRM errors

801 The unit subscription has not been added.
802 The unit subscription has not been updated.
803 The unit subscription has not been deleted.
811 The periodic subscription has not been added.
812 The periodic subscription has not been updated.
813 The periodic subscription has not been deleted.
821 The serial subscription has not been added.
822 The serial subscription has not been updated.
823 The serial subscription has not been deleted.

900 - Misc. errors

901 The character string to be searched for cannot be blank.
902 The subscriber login cannot be blank.
903 This subscriber login already exists.
904 Unknown unit subscriber for this publication
905 Unknown subscription period.
906 Unknown subscription series.
907 The publication’s circulation mode cannot be “public”.