web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Ebay integration with BC token issue

(2) ShareShare
ReportReport
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)
I have the same question (0)
  • Verified answer
    Valentin Castravet Profile Picture
    31,340 Super User 2025 Season 2 on at
    You can create a blob field in Business Central which can store more than 2048 characters - Blob Data Type - Business Central | Microsoft Learn
     
  • CU04091421-0 Profile Picture
    14 on at
    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  
     
  • CU04091421-0 Profile Picture
    14 on at
    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!
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans