-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shopping API, Token not found, yet included in YAML #375
Comments
When I hard code the iaf token in the headers of the shopping init.py file (I know, not the best practice) the call works and returns data! The init file doesn't pick up the iaf token correctly from the yaml file. I can use this: s.config.values and it returns the variables, including the iaf token from the yaml file. But the init file doesn't pick it up. |
Thanks, this also worked for me. |
This fix was committed but never made it into the latest release. Since it seems this library isn't being maintained anymore, here's a workaround to include the fix: pip uninstall ebaysdk # uninstalls 2.2.0 -- latest release pip install ebayskgit+https://github.com/timotheus/ebaysdk-python.git --no-cache-dir You can also include in your requirements.txt (although you may hit an error if ebaysdk is in pip cache): |
please can you elaborate on what you do |
using the Shopping API Class, I've constructed the YAML as so :
open.api.ebay.com:
iaf_token: myToken
appid: myappid
certid : mycertid
version: 799
Yet I received this error:
'GetSingleItem: Class: RequestError, Severity: Error, Code: 1.33, Token not available in request. Token not available in request. Please specify a valid token as HTTP header.'
{'Timestamp': '2023-03-21T23:08:05.329Z', 'Ack': 'Failure', 'Errors': {'ShortMessage': 'Token not available in request.', 'LongMessage': 'Token not available in request. Please specify a valid token as HTTP header.', 'ErrorCode': '1.33', 'SeverityCode': 'Error', 'ErrorClassification': 'RequestError'}, 'Build': 'E1199_CORE_APILW_19146596_R1', 'Version': '1199'}
Would anyone be able to help?
The text was updated successfully, but these errors were encountered: