You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using the gatsby-source-trustpilot to show some reviews in a multi-domain website.
The main gatsby-config is shared for all builds in various domains, so i get the domain of the website as a variable and pass it in the arrays of domains i gatsby-source-trustpilot options with a main domain that i expected to use as a fallback. Unfortunately, not always the domain exist (as example dev enviroments or new domains), and this break the plugin
"gatsby-source-trustpilot" threw an error while running the sourceNodes
lifecycle:
404 - [object Object]
44 | // Get Business Unit IDs for given domains
45 | _context.next = 5;
> 46 | return client.fetchUnitIdsForDomains();
| ^
47 |
48 | case 5:
49 |
is there a way to implement some kind of fallback?
The text was updated successfully, but these errors were encountered:
I'm currently using the gatsby-source-trustpilot to show some reviews in a multi-domain website.
The main gatsby-config is shared for all builds in various domains, so i get the domain of the website as a variable and pass it in the arrays of domains i gatsby-source-trustpilot options with a main domain that i expected to use as a fallback. Unfortunately, not always the domain exist (as example dev enviroments or new domains), and this break the plugin
is there a way to implement some kind of fallback?
The text was updated successfully, but these errors were encountered: