Skip to main content

Notifications

Business Central forum
Answered

Ebay integration with BC token issue

Posted on by 14
Hello there,
I'm working on an API integration Ebay with business central (trying to fetch Ebay orders and show it on bc), but the token i got from Ebay has a length of more than 2350+, i cannot store this
value on bc due to the field size limitation of 2048. what are my options i want to reference my field "Access Token" Text [2048] as the token on all the endpoints.
business central (Cloud)
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 71,222 Super User 2024 Season 2 on at
    Ebay integration with BC token issue
    I think what Valentin means is that you store the value in the Blob of the table, not in the Text of the table.
    Then when reading this blob field, you can read it into a text variable. The length of the Text variable is much larger than 2048.
    You can refer to the standard work description approach.
     
     
    Hope this helps.
    Thanks.
    ZHU
  • CU04091421-0 Profile Picture
    CU04091421-0 14 on at
    Ebay integration with BC token issue
    Hi, Valentin
    It was just as you said I was able to store my token in a blob field. I took reference from the standard sales header table - "Work description". I copied over both the functions and used outstream to store the token and used instream to read the value inside. I presume thats how it works based on my understanding.

    Thanks a lot!
  • CU04091421-0 Profile Picture
    CU04091421-0 14 on at
    Ebay integration with BC token issue
    hi valentin,
    if i use it as blob i cannot convert the jsontoken which stores the ebay token into text. at the very least jsontoken cannot convert to a blob from what i understand , neither does it support operators.

    i added some screenshots for reference  
     
  • Verified answer
    Valentin Castravet Profile Picture
    Valentin Castravet 23,422 Super User 2024 Season 2 on at
    Ebay integration with BC token issue
    You can create a blob field in Business Central which can store more than 2048 characters - Blob Data Type - Business Central | Microsoft Learn
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,782 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,067 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,150

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans