All PostsDiscussionsBlogsIdeasQuestions
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
  •                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
Discussions
eBay Community logo
  • Home
  • News & Updates
  • Buying & Selling
    • Buying
    • Selling
    • New to selling on eBay
    • Seller Tools
    • Shipping
    • Returns
    • eBay Advertising
    • Payments
    • Mobile Apps
  • Explore Categories
      • eBay Motors
      • Electronics
      • Collectibles & Art
      • Home & Garden
      • Clothing, Shoes & Accessories
      • Toys & Hobbies
      • Sporting Goods
      • Books, Movies & Music
      • Health & Beauty
      • Business & Industrial
      • Jewelry & Watches
      • Specialty Services
      • eBay Partner Network
      • Accessibility
      • eBay Developers Program
      • eBay Cafe
      • eBay Live
      • Community Mentors
    • Ask a Mentor
  • About
    • About the Community
    • Share Community Platform Feedback
    • Report eBay Technical Issues
    • About eBay
  • Community Events
    • Events
    • Seller Circle Hosts
    • Seller Circles
  • eBay Help
    • Special CategoriesChevronRightIcon
    • eBay Developers ProgramChevronRightIcon
    • RESTful Sell APIsChevronRightIcon
    • Account, Inventory, Catalog and ComplianceChevronRightIcon
    Production user token missing sell.inventory scope - errorId 2004 ACCESS on createInventoryLocation

    Hello,

    I'm trying to use the Sell Inventory API in Production but consistently
    get an ACCESS error, and I believe my user token isn't being granted
    the sell.inventory scope.

    What works:
    - My Production keyset is active (I completed the Marketplace Account
    Deletion exemption).
    - My OAuth Scopes page confirms my app is granted both sell.inventory
    and sell.inventory.readonly.
    - I am a registered seller.
    - The Account API works fine with my token - I successfully created
    payment, return, and fulfillment business policies using the same token.

    What fails:
    When I call:
    PUT https://api.ebay.com/sell/inventory/v1/location/warehouse_test_001
    with headers:
    Authorization: Bearer <token>
    Content-Type: application/json
    Content-Language: de-DE
    and a valid location body, I get:

    HTTP 400
    {"errors":[{"errorId":2004,"domain":"ACCESS","category":"REQUEST",
    "message":"Invalid request","longMessage":"The request has errors."}]}

    My question:
    I am generating the user token using the "Sign in to Production for OAuth"
    button in the developer portal. Does that button grant all of my app's
    scopes (including sell.inventory), or do I need to use the authorization
    code grant flow with the scope explicitly specified? If so, can you
    confirm the correct authorization URL and scope format for my keyset?

    My App ID (Client ID) is: keineAhn-listingn-PRD-2a93a6a15-11f280b4

    Thank you.

    totaldisasteroutfitters
    totaldisasteroutfitters
    Posted 2 months ago
                                           
             
    0 comments

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                   
                                                                                     
    •                                                              
    •                                                              
    •