Skip to content
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

With the include_metadata I got a 500 Internal Server Error #34

Open
iSamuIsHere opened this issue Dec 9, 2024 · 0 comments
Open

With the include_metadata I got a 500 Internal Server Error #34

iSamuIsHere opened this issue Dec 9, 2024 · 0 comments

Comments

@iSamuIsHere
Copy link

Hi,
I got an Internal Server error on the getEntries requests.
The only way to retrieve the entries without errors is removing the include_metadata inside the contentstack.ts

 result = await entryQuery
             .addParams({include_metadata: 'true'})
             .addParams({include_applied_variants: true})
             .find() as { entries: T[] }

like this

  result = await entryQuery
               .addParams({include_applied_variants: true})
               .find() as { entries: T[] }

Even using directly the CDA the metadata breaks the request.

image

I just wanted to report the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant