09-07-2023 02:28 PM
Hello everybody. I'm hoping someone could help, as my skill list is depleting quick with this issue. We have had a developer leave the organization, and since we've been having issues with ebay api.
From what I gather, when we reset the production ebay account password is when it all started. Coincidence I'm not sure. But after digging and digging for a whole day here is where i'm at.
It looks like I have to follow this article here: Using a refresh token to update a User access token | eBay Developers Program, but whenever I try to do this, I get this error in CMD
In the database, looking into syncing issues I keep seeing this error
Please let me know if you need more information to help, as I'm sure I'm missing something.
If anybody could help us I would greatly appreciate it!
Sincerely,
Struggling
09-07-2023 05:36 PM
I assume you reset the production KeySet because the developer who left the company had access to that KeySet.
If this is for your own selling account, first, make sure that you have completed the Marketplace Account Deletion exemption for your new production key set:
Are you accessing the Trading API? If so, you can still use Auth-n-auth, even though eBay wants you to migrate to OAuth. Let's look at auth-n-auth, since that is probably what your program had been using.
Go to your selected KeySet's production page and select Auth-n-Auth:
https://developer.ebay.com/my/auth?env=production&index=0
Click the big blue "Sign in" button, which will open a screen where you can sign in with your selling account. After signing in, an 18 month token will be set in your selling account. You will also be shown that token so that you can copy and use it to make API calls. The API calls will need to be modified to use your current KeySet and your newly minted User token.
Developer - API auth-n-auth
The user token within your application might be URL encoded to look something like this:
v%5E1.1%23i%5E1%23f%5E0%23p%5E3%...
09-08-2023 06:06 AM
Thank you so much for your quick reply!
We use the API for tracking items sold in eBay to remove them from our program and other outside selling sites, pull in shipping data, and prices. We also use the API to push out listings from our program as well. Not sure what API's we have signed up to use as of yet. Is there a way to check?
We did NOT change the production keyset, but we did revoke what we thought was the old user key. We found many lines and files in the code with the eBay Api credentials in it, not that we haven't missed the "right" lines.
We did also do the steps you laid out above regarding creating an auth and auth key. What I'm not sure of is when we do that, do we have to go through the event delivery notification process again. Is that the error is in our SQL database?
From what I researched; event delivery notification is due to user data privacy correct? When we first regained access to our developer eBay account, that account event delivery notification option looked blank. Does this mean it may have been tampered with, or otherwise not filled out?
09-08-2023 09:06 AM
The Marketplace Account Deletion screen is a recent requirement. I think it became a mandate in June. If it is blank, then either it hasn't been completed or else the program was designed to respond to event notifications. The section displayed in my post would only need to be completed if your program is exempt. And if your program does not fetch a user token from any other user, then you can claim an exemption and forego the notifications about other members' account deletions.