What Do I Do If Notebook Examples Fail to Be Loaded and the "_xsrf'argument missing from POST" Error Is Displayed?
Symptom
After a GPU-based notebook instance is opened, the ModelArts Examples tab page and engine type fail to be loaded and folders fail to be created on the Jupyter page. Figure 1 and Figure 2 shows the failure.
Possible Cause
- A third-party website is required for accessing a GPU-based notebook instance. The website can be accessed only after cookies of the browser is enabled. If the preceding problem occurs, enable cookies in Google Chrome to solve the problem.
- When you use Google Chrome of a later version, the ModelArts Examples page may fail to open due to some default settings, for example, SameSite by default cookies. You are advised to modify the default settings of the browser to solve this problem.
Solution
Enable cookies in Google Chrome.
- In the upper right corner of Google Chrome, click
and choose Settings. - Enter cookie in the search box and select Site settings from the search result.
- Select Cookies to go to the detailed settings page. Disable Block third-party cookies. See Figure 3.
- If the Google Chrome version is 80.XX or later and the problem persists after the preceding steps are performed, perform the following operations:
- In the address bar of the browser, enter chrome://flags.
- In the search box of the opened web page, enter same site to search for related settings. In SameSite by default cookies, change the default value Default to Disabled.
Figure 4 Setting SameSite
- After the parameters are set, click Relaunch at the bottom of the browser to make the settings take effect after Google Chrome is restarted.
Figure 5 Restarting Google Chrome
- Restart the browser, go to the ModelArts console, and check whether the ModelArts Examples tab page is displayed.
If the problem persists, submit a service ticket to contact technical support.



Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.