Ebay API - troubleshooting Setup for weeks now

I’ve been trying to integrate eBay’s API into my Bubble.io app for over two weeks now, but I’m still unable to get the OAuth2 flow working properly. Despite following the documentation and various troubleshooting steps, I keep running into issues that prevent me from successfully retrieving and storing the access token. I have been trying to also user username in the User ID key Path, since e redditor posted this was one of the issues. I double checked redirect urls multiple times. Debug mode is true. Errors are basically random and dont make any sense. Ive been also trying diffrent kind of Setups for the API

Thank you for your time

Anyone?

At first, I can tell you that you cannot have all theses shared headers. You can delete them. Anyway, they are not used for the authentication part.

It’s been a while since I did an ebay integration so I don’t remember everything, but you have settings on ebay to set that can create issue and on API Connector side.
Also, did you test with sandbox first?

According to doc, you need to check REquesting an acces token use Basic auth
For the profile endpoint, I don’t think you are using the correct endpoint.
https://developer.ebay.com/api-docs/commerce/identity/resources/user/methods/getUser
According to doc, you cannot reach the email with Bubble Auth (the email is inside an object called businessAccount… but maybe there’s another endpoint that could provide it). The user ID key path should be userId instead of username

So maybe you will need to manually process the Ebay oauth2

1 Like

that worked, crazy!

1 Like

I was using ebays Auth n Auth before but i couldnt see the xml code anymore and also wanted to switch up to an more secure authentication, Iam so extremly thankful for your time :smiley:

1 Like

For anyone wondering, this setup works as of January, 2025

Hey @moon
Any chance u could send through your ebay oauth redirect setup?? Have copied what you’ve done but still have weird redicts and some http 400 errors.

The Auth accepted url, is the genericredirect url, thats it on ebays side
(the setup in the pciture above is for production mode)
If youve copied all scopes from the branded signin url you should be fine

Hmmm yea all redirect urls’ and scopes are fine, the problem is when i accept the ebay terms, it just spits me out on the developer page. These are my workings:

Like appid is just the appid, and app secret is the certID yea?

1 Like

apiz.ebay.com/commerc

you forgot to add the “z” after api

Iam not entirely sure if you need to include dev id and secrete, try with and without then it should work, and do this, you may already know, in debug_mode=true , also di it in version-test, you don’t need to change the redirect url for that

1 Like

Yep it was definitely the seemingly incorrect looking “z” in the user profile section… works now thanks matey

1 Like