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

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,111 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,672 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

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 2,362

#2
YUN ZHU Profile Picture

YUN ZHU 867 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans