question

Upvotes
Accepted
1 0 1 1

Clear System to System API PERSON SEARCH returning 401(10003) Not authorized response for beta environment

HI - We are trying to connect to the api -

https://s2s.beta.thomsonreuters.com/api/v2/person/searchResults.

However it is giving 401 NOT unauthorized response.

POST /api/v2/person/searchResults
Content-Type: application/xml
cache-control: no-cache
Postman-Token: 3b734f49-453f-4d28-a6da-a4777525b168
Authorization: Basic MzUzNTQxODpEV0RYRjk=
User-Agent: PostmanRuntime/7.4.0
Accept: */*
Host: s2s.beta.thomsonreuters.com
cookie: TS01bc8c29=0196bbe8a934ba3b475a721048fe24597b1cbb494d4bc64ac2b873c9f193ea73857bd16077
accept-encoding: gzip, deflate
content-length: 407
<?xml version="1.0"?><ps:PersonSearchRequest xmlns:ps="http://clear.thomsonreuters.com/api/search/2.0"><PermissiblePurpose><GLB>K</GLB><DPPA>0</DPPA><VOTER>0</VOTER></PermissiblePurpose><Reference>S2S Person Search</Reference><Criteria><p1:PersonCriteria xmlns:p1="com/thomsonreuters/schemas/search"><PersonEntityId>P1__NTI0ODU1MDEwMA</PersonEntityId></p1:PersonCriteria></Criteria></ps:PersonSearchRequest> HTTP/1.1 403
status: 403
Content-Type: application/xml;charset=UTF-8
Content-Length: 223
Date: Sat, 07 Sep 2019 13:03:47 GMT
Set-Cookie: TS01bc8c29=0196bbe8a934ba3b475a721048fe24597b1cbb494d4bc64ac2b873c9f193ea73857bd16077; Path=/ <ns2:ErrorResponse xmlns:ns2="http://clear.thomsonreuters.com/api/core/2.0">; <Status> <StatusCode>401</StatusCode> <SubStatusCode>10003</SubStatusCode> <Message>Not Authorized.</Message> </Status> </ns2:ErrorResponse>

Can someone please guide.

Note: We are trying to connect to the REST api with certificates provided to the company for our account.

Thanks

aresdev

world-checkworld-check-one
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

· Write an Answer
Upvotes
Accepted
4.2k 8 5 6

@aresdev

Can you please clarify why are you using the URL- https://s2s.beta.thomsonreuters.com/api/v2/person/searchResults.

Also, kindly specify the API call you are trying to call.

The URL you are using does not belong to WC1 API.

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.

@aresdev

Following up to see if there is an update on this.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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