Find the answer to your question
Why I am getting this error in GetUser call?
|<?xml version="1.0" encoding="UTF-8"?>|
<ShortMessage>No ItemId exists.</ShortMessage>
<LongMessage>ItemId required for this Detail Level. Transactional relationship must exist between requesting and subject user.</LongMessage>
This error can occur when you set DetailLevel to ReturnAll AND passed an UserID that is not the requesting user identified by the user Auth token in GetUser call as below:
| <?xml version="1.0" encoding="utf-8"?>|
<eBayAuthToken>YOUR USER AUTH TOKEN</eBayAuthToken>
<UserID>USERID for the OTHER EBAY USER</UserID>
You can fix the request error by removing the <DetailLevel>ReturnAll</DetailLevel> from the request.
For GetUser API, you can only use ReturnAll detail level in either of the cases below:
1. The requester identified by the user token is retrieving his/her own data
2. The requester has transaction relationship with the user specified in the UserID for the listing, the ItemID is also passed into the ItemID field, in which the requestor and target user were participants.