Troubleshooting
Warning
Documentation in progress...
Debug
Especially when you want to get Data from Drupal, sometimes things are not working as expected. To get more information
what works and what not, the function getDrupalGlobalPageProps allows to set the attribute debug to true, which will
log a lot of output to the terminal-console. maybe this will help to proceed with your issue.
Your call of getDrupalGlobalPageProps function looks than something like this:
const pageProperties = await getDrupalGlobalPageProps({
debug: true,
context
});