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
importcontentfulfrom'contentful-management'constclient=contentful.createClient({// This is the access token for this space. Normally, you get the token in the Contentful web appaccessToken: 'YOUR_ACCESS_TOKEN',},{type: 'plain'})
When running this code from within the Contentful App (react), the contentful variable is undefined.
I was able to make it work with the following instead:
The documentation states:
When running this code from within the Contentful App (react), the contentful variable is undefined.
I was able to make it work with the following instead:
Node.js: v21.7.1
contentful-management: 11.24.3
The text was updated successfully, but these errors were encountered: