The virtual Constitution got an unexpected amendment Wednesday.

Portions of Article I, Section 8 and all of Section 9 and 10 vanished from the government’s official Constitution Annotated website , a snafu the Library of Congress — which maintains the site — blamed on a “coding error.”

Those provisions of the founding document notably pertain to habeas corpus, protection against detention without due process; and the emoluments clause , which restricts government officials from receiving unsanctioned foreign gifts.

The missing sections were back online as of 2 p.m. ET, the Library of Congress confirmed.

“Upkeep of Constitution Annotated and other digital resources is a critical part of the Library’s mission, and we appreciate the feedback that alerted us to the error and allowed

See Full Page