Multi step

I am having a problem with a script base multi-step WPT test.

It seems fine to me when its single page WPT.

But, when that page included by a script, that page shows me a sort of error code like 503 403.

What’s the difference between those tests? Or Can I just ignore those error codes?