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...
Suggested Answer

Message API Request failed with status: 504' when I want to Gold rates API in my AL code

(2) ShareShare
ReportReport
Posted on by 4

Dear [Recipient's Name],

I have developed a code snippet to fetch Gold rate data into my Business Central table. However, I am encountering the following error:

"Message API Request failed with status: 504."

I am not very experienced with APIs and internet scripts, so I am struggling to identify the root cause of the issue. I have attached the relevant details for your reference.

The related code is available in the Action section, along with a few Procedures. Could you please review and provide hints or corrections to resolve this?

Looking forward to your guidance.

Warm Regards,
Krishna

I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,275 Super User 2025 Season 2 on at
  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at
    Have you tried making this request using PostMan and did you get the success ? I would try that first and then you can add the code in your AL. The error message indicates it is not getting a response.
     
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Hi, are you acquiring a large amount of data?
    It is recommended to test it first in tools such as Postman.
    Also, for the code question, I just tested getting data from SharePoint recently, and I hope the information below can give you some hints.
     
    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