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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Gateway timeout issue

(0) ShareShare
ReportReport
Posted on by

Hello,

I am trying to do some customization in my Production Environment. After running in VS then I am facing error for Time out.

The request for path /v2.0/Production/dev/metadata?tenant=tenantid failed with code GatewayTimeout. Reason: Gateway Timeout

Please help...

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    It can look like you have the wrong tenant defined in your launch json file.

    Make sure you use the correct tenant and environment name.

  • Suvarna Profile Picture
    on at
    Hi Inge,
    Thanks for your reply. Please check my below code. It's giving error -
    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Microsoft cloud sandbox",
                "request": "launch",
                "type": "al",
                "tenant": "................(tenant id).............",
                "environmentType": "Sandbox",
                "environmentName": "Production",
                "startupObjectId": 22,
                "startupObjectType": "Page",
                "breakOnError": true,
                "launchBrowser": true,
                "enableLongRunningSqlStatements": true,
                "enableSqlInformationDebugger": true
            }
        ]
    }
    ERROR : The request for path /v2.0/Production/dev/metadata failed with code GatewayTimeout. Reason: Gateway Timeout
  • Suggested answer
    Steven Renders Profile Picture
    5,682 Moderator on at

    Are you sure you have a Sandbox with the name Production?

    Usually this:

     "environmentType""Sandbox",
     "environmentName""Production",
    Is:
     "environmentType""Sandbox",
     "environmentName""Sandbox",
    And you should create/use a sandbox for development. VScode can only connect to a sandbox, not a production environment.
  • Suvarna Profile Picture
    on at

    Hi Steven,

    Thanks for your reply.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,850 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,084 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans