question

Upvotes
Accepted
51 9 17 13

What does "Number of user subscription exceed the limit" mean and how can it be resolved?

We encountered the following 442 error with the error message "Number of user subscription exceed the limit" when sending a request using /RESEARCH-SUBSCRIPTIONS endpoint to retrieve a research report via Research API(EDP) as follow.

<Questions>

What does this error mean?

How could we resolve this error?

rdp-apirefinitiv-data-platformresearch
capture.jpg (53.6 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted

Hi @hiroko.yamaguchi,

The error means the number of subscription ID has already reached the limit. The current limit for subscription ID is 1.

To resolve this, you have to remove the subscription ID by sending 'DELETE' to the same endpoint (should be https://api.edp.thomsonreuters.com/alerts/beta1/research-subscriptions without the userID), you should get OK 204 and will be able to request the new subscription ID after that. I don't know if the limit can be increased or not. Below is the screenshot from Workflow tab that mentioned this step which is mandatory.

Also, you can check the subscription ID with GET message. It will return empty if there's not subscritption ID;

{
  "subscriptions": []
}

If there's still subsciption ID, it will return the response like this;

{
  "transportInfo": {
    "endpoint": "https://sqs.us-east-1.amazonaws.com/642157181326/sqs-edsalerts-main-prod-usersqs-fdefe72d-d483-4427-84a1-c7ae55146657",
    "transportType": "AWS-SQS",
    "cryptographyKey": "nabMLhCOjeFzLvdGlOc9QMSEDqszAVi5l5vJVNBthCg="
  },
  "creationTimestamp": "2018-12-28T04:41:12.443Z",
  "subscriptionID": "fdefe72d-d483-4427-84a1-c7ae55146657",
  "userID": "XXXXX-XXXXX"
}

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.