question

ipar6687 avatar image
0 Likes"
ipar6687 asked

invalid response to trading api

when i call ebay trading api sometimes , it returned invalid response with different structure . This is happening for type of api calls occasionally. - example : - section : Trading Api - type : xml - call : GetSessionID input : en_US High $MYRUNAME$ output : PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiID8+PGVCYXk+PEVCYXlUaW1lPjIwMTctMDItMDIgMTE6NDE6NTI8L0VCYXlUaW1lPjxFcnJvcnM+PEVycm9yPjxDb2RlPjEwMDA3PC9Db2RlPiA8RXJyb3JDbGFzcz5TeXN0ZW1FcnJvcjwvRXJyb3JDbGFzcz48U2V2ZXJpdHlDb2RlPjE8L1NldmVyaXR5Q29kZT48U2V2ZXJpdHk+U2VyaW91c0Vycm9yPC9TZXZlcml0eT48TGluZT4wPC9MaW5lPjxDb2x1bW4+MDwvQ29sdW1uPjxTaG9ydE1lc3NhZ2U+PCFbQ0RBVEFbIEludGVybmFsIGVycm9yIHRvIHRoZSBhcHBsaWNhdGlvbiBdXT48L1Nob3J0TWVzc2FnZT48L0Vycm9yPjwvRXJyb3JzPjwvZUJheT4= expected output: 2017-02-02T15:07:03.671Z Success 983 E983_CORE_APISIGNIN_18076437_R1 $SESSIONID$
trading apigetordersapi errorinvalid data
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.

ipar6687 avatar image
0 Likes"
ipar6687 answered
i have noticed that the response header has content-type to 'application/xml; charset=UTF-8'. The result came were binary-to-text encoded. so i tried on base-64 decoding and finally got the result XML. 2017-02-03 07:00:09 10007 SystemError 1 SeriousError 0 0 Internal error to the application the error means that it is SystemError from ebay side.
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.

yazhou_developersupport avatar image
0 Likes"
yazhou_developersupport answered
Hi ipar6687, I tried to reproduce this error on sandbox or production but had not seen it. Regarding to the unexpected output, it should not happen. Below screenshot is my sample Sandbox request. Could you please share your sample? ![alt text][1] [1]: /storage/temp/1314-image001.png Can you call GetSessionID API again? If you are still running into the ErrorCode 10007, please provide your developer account’s Username. Best Regards,

image001.png (131.5 KiB)
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.