Unable to getEnvironments from space
See original GitHub issueUsing the content-management api and looking at the docs getEnvironments()
here there is a missing piece in the URL created.
Per the docs the url should be /spaces/{space_id}/environments
Instead what is sent dropped the {space_id}
and instead queries to /spaces/environments
Using the latest package contentful-management@5.11.2
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Issue connecting to preview api - Contentful Community
This fails with a 404: The resource could not be found. I also cannot call space.getEnvironments() const environment = await space.
Read more >create-space-api.js - Contentful Developer Documentation
Contentful Space API. Contains methods to access any operations at a space * level, such as creating and reading entities contained in a...
Read more >Angular & Contentful: Cannot create asset inside a space
The problem is that the Space object does not have a createAsset method. In fact, the only methods it has are locales ,...
Read more >Unable to import - Synthetic - New Relic Explorers Hub
I am trying to call an external api for contentful, but finding errors in dynamic import call in ES5 and ES3. Here is...
Read more >GetService - AWS Migration Hub Refactor Spaces
Gets an AWS Migration Hub Refactor Spaces service. Request Syntax. GET /environments/ EnvironmentIdentifier /applications/ ApplicationIdentifier /services/ ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
All good, I made a terrible mistake higher up the chain.
If I knew what it was I’d tell you, probably just some bad logic where I was calling on the wrong environment or not waiting for something, sadly I don’t have access to that old code anymore 😕