Home Knowledge Base GetUserContactDetails returns Error 22173 - You are not authorised to this API call
Find the answer to your question
We are getting Error 22173 as below for every GetUserContactDetails call we make to the production server. Who do we need to talk to to get authorised for this call on the UK production server?
<? xml version="1.0" encoding="UTF-8" ?>
< GetUserContactDetailsResponse xmlns =" urn:ebay:apis:eBLBaseComponents ">
< Timestamp > 2020-02-02T23:26:27.509Z </ Timestamp >
< Errors >
< ShortMessage > You are not authorized to make this API call. </ ShortMessage >
< LongMessage > You are not authorized to make this API call. </ LongMessage >
< ErrorCode > 22173 </ ErrorCode >
< SeverityCode > Error </ SeverityCode >
< ErrorClassification > RequestError </ ErrorClassification > </ Errors >
< Build > E1131_CORE_API6_19105226_R1 </ Build >
< ContactAddress />
The possible causes for this error are: --- You are not the owner of the given item nor the buyer who has made bid or placed offer to the item. It's required, to use GetUserContactDetails api, there must be a 'bidding' relationship between two parties: the caller and the < ContactID > specified in the GetUserContactDetails request.
--- The item in question is not listed in
eBay Motor or eBay Business & Industrial category. The GetUserContactDetails only supports eBay US Motors (SiteID 100) or Business & Industrial category
RESOLUTION To work around Error 22173 is to make sure to satisfy the GetUserContactDetails Prerequisites.
Additional Resources Documentation: GetUserContactDetails
How well did this answer your question? Answers others found helpful