diff --git a/pkg/linkedingo/realtime.go b/pkg/linkedingo/realtime.go index b0478ab7bb3d85b5c2901c4ef80b22685deedded..849fcd47741145fbd197b484229d70fb24b595f1 100644 --- a/pkg/linkedingo/realtime.go +++ b/pkg/linkedingo/realtime.go @@ -149,7 +149,14 @@ func (c *Client) cacheMetaValues(ctx context.Context) error { } return nil } - return crawl(doc) + if err = crawl(doc); err != nil { + return err + } + + if c.clientPageInstanceID == "" || c.xLITrack == "" || c.i18nLocale == "" { + return fmt.Errorf("failed to find all meta values") + } + return nil } func (c *Client) RealtimeConnect(ctx context.Context) error {