-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft entries returned by Content Delivery API #177
Comments
Hi @damireh. Which version of the SDK are you using? Cheers |
Im using the gem and its pinned to version 2.8.0
|
Can you share how you're instantiating the client? Cheers |
Contentful::Client.new(
space: "xx",
environment: "xxx",
dynamic_entries: :auto,
access_token: "xxx"
) And im fetching the entries like so client.entries(content_type: :page, include: 3, "fields.slug" => slug).first |
Hey @damireh, Could you create a support request in https://support.contentful.com and request for my help? I'll need you to send your access token, space ID and environment ID so that I can test this properly. As this issue shouldn't be happening since the release of version 2.5.0. Cheers |
Will do 👍 Thank you |
Did you manage to find the problem? I have the exact same issue |
Hey @MatteoGioioso, thanks for reporting the issue. I am looking into it. I will get back to you if I need more details. Cheers |
I'm having the same issue two years later. Edit: |
I have an entry that references other entries but the API is returning the draft referenced entries as part of the response; and I was under the impression it would only return published entries unless you use the preview api/token?
In the example above this is the response im receiving from the API
While its not actually returning the content of the draft entries; its still returning their IDs, is this expected?
The text was updated successfully, but these errors were encountered: