question

jeffregrizzl-0 avatar image
0 Likes"
jeffregrizzl-0 asked ·

Post Order Api 401

Trying to make call to post order api for case management. It always comes back with a 401. I've tried the token used for the trading api / soap calls that works and the OAuth token, neither work. What am I doing wrong? var client = new WebClient(); client.Headers.Add("Authorization", "TOKEN Token Value That Works For TradingApi"); client.Headers.Add("X-EBAY-C-MARKETPLACE-ID", "EBAY_US"); client.Headers.Add("Content-Type", "application/json"); client.Headers.Add("Accept", "application/json"); var test = client.DownloadString(" https://api.sandbox.ebay.com/post-order/v2/casemanagement/search?case_creation_date_range_from=2015-05-15T03:52:39.000Z&case_creation_date_range_to=2016-11-20T03:52:39.000Z";);
post order api
10 |600 characters needed characters left characters exceeded

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

zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered ·
Hi jeffregrizzl-0, We have opened an internal bug for the issue and will keep you updated on the progress of the issue when we have more information. Thank you for bringing the issue to our attention. Best Regards,
· Share
10 |600 characters needed characters left characters exceeded

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

amardeechauha_8 avatar image
0 Likes"
amardeechauha_8 answered ·
Hi @ zhuowei.developersupport@ebay.com, @jeffregrizzl-0 I am facing this same issue. Have you got any solution for this?
· Share
10 |600 characters needed characters left characters exceeded

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

jeffregrizzl-0 avatar image
1 Like"
jeffregrizzl-0 answered ·
No. Been several months, its like they've stopped working on the API or just don't care.
· Share
10 |600 characters needed characters left characters exceeded

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

zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered ·
Hi, The concerned engineering team actually had rolled out a fix but it looks like the casemanagement search API call is still not working on Sandbox. We have escalated the issue and will keep you updated. Best Regards,
· Share
10 |600 characters needed characters left characters exceeded

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

jeffregrizzl-0 avatar image
0 Likes"
jeffregrizzl-0 answered ·
As a software architect and technical manager, this seems very amature'ish (3 months just to acknowledge it is a defect where you can't even connect to an exposed/public API) for a dev team that's rockin one of the most visited sites in the world. The team should consider a dev to dev communication forum, from the chatter on the dev highway it seems like this is business as usual. Regards
· Share
10 |600 characters needed characters left characters exceeded

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

zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered ·
Hi folks, We are sorry for taking so long but the issue is fixed. Try now and provide rlogid http response header if you still see the error. Best Regards,
· Share
10 |600 characters needed characters left characters exceeded

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

zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered ·
Hi, This bug has been fixed. Please let us know if you are still running into the issue. Best Regards,
· Share
10 |600 characters needed characters left characters exceeded

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

sajed.shafique avatar image
0 Likes"
sajed.shafique answered ·
@ zhuowei.developersupport@ebay.com This seems to work fine with the AuthnAuth tokens but not with oauth tokens?
· Share
10 |600 characters needed characters left characters exceeded

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

jomojoh-1 avatar image
0 Likes"
jomojoh-1 answered ·
Hi tried with both oauth and AuthnAuth but still getting same 401 error. i am trying to call /post-order/v2/cancellation/check_eligibility with sandbox base url. My RlogId: t6%60dhdfiuq%60%28ciudbq%60anng%7Fu2h%3F%3Cwk%7Defmfckpse*067461-15b237902ac-0xe4
· Share
10 |600 characters needed characters left characters exceeded

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

zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered ·
Hi folks, Post Order API only supports AuthnAuth. Please share a sample request payload if you are still getting 401 error when call /post-order/v2/cancellation/check_eligibility with sandbox base url. Best Regards,
· Share
10 |600 characters needed characters left characters exceeded

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

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.