Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

[GF#5] PDI in Offline state: Resolving Error 502 Bad Gateway (snow_adc)

glideFather
Tera Patron

HTTP codes 

1xx - Hold up

2xx - All good

3xx - Redirection

4xx - User messed up

5xx - Server messed up

502/503/504 - Third-party messed up

 

 

This is Ezra. He was happily building a new app in his PDI when a 502 error appeared on his screen.

When he saw the message he started to panic.......

GlideFather_1-1767887950478.jpeg

GlideFather_4-1767888493580.png

Fortunately, Ezra found the solution before the stress took over.

 

Ezra navigated to Developer Portal to check the status of his PDI.

 

Now he knows that PDIs typically cycle through three states:

  • Offline
  • Refreshing instance
  • Online
  • Hibernating

Ezra discovered that if an instance is Offline, a simple click of the Refresh button is all it takes. As the status changed to Refreshing instance, Ezra grabbed a glass of water to refresh himself too. Within a few minutes, both he and his PDI were ready to continue!

 

GlideFather_6-1767888944057.png

Hibernating: 504 Gateway Time-out

glideFather_1-1785155173155.png

 

Ezra also learned that sometimes things aren't so simple.

 

If a PDI is undergoing unscheduled maintenance, it’s a situation out of his control that can last for several days.

 

When this happens, Ezra knows he has two choices:

  • Patient: wait for the maintenance to finish (email notifications available),
  • Impatient: Release the current instance and request a brand-new one (potential data lose).

Because Ezra is smart and keeps regular backups, he can simply request a new PDI, import his data, and get right back to building his smashing app!

 

His friend Silas doesn't have any backup, but they both found out that they might access the PDI with /login.do

https://yourinstance.service-now.com/login.do

And it was clear that they can access a PDI during the maintenance, that gave them chance to make the missing backup before requesting the new instance for Silas as well.

 

GlideFather_2-1767888356424.png

Ezra and Silas are are both back to building their apps by coding, low-coding, and no-coding happily ever after...

 

_____________________________________________________________________________________

EDIT 16.04.2026: I have encountered a new state "504 Gateway Time-out", this wasn't known to me when I originally posted it. The resolution is the same as for 502, check the PDI status and either refresh your instance or wait a bit..

 

Screenshot 2026-04-15 at 17.43.30.png

 

EDIT 18.05.2026: broken link to Dev Portal was fixed.

EDIT 27.07.2026: added screenshot for Hibernating + added the HTTP codes in the begginning. 


✂-----Cutting-out-the---✦AI-noise✦---All-replies-written-and-vouched-for-by-GlideFather---
0 REPLIES 0