Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Ebay integration with BC token issue

(1) 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)
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,148 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 24,961 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans