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

CDAClient does not show error message from Contentful #203

Open
kevcodez opened this issue Sep 25, 2019 · 0 comments
Open

CDAClient does not show error message from Contentful #203

kevcodez opened this issue Sep 25, 2019 · 0 comments

Comments

@kevcodez
Copy link

When querying Contentful with too many entries via URL, we receive an error message Error: URI Too Long with status code 414.

However, when using the CDAClient to do the same

  val cdaAssets = cdaClient.fetch(CDAEntry::class.java)
            .where("sys.id[in]", contentIds.joinToString(separator = ",") { it.value })
            .all()

we simply get null as exception message.

It would be great to have the API Response message in the exception for easier debugging.

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

No branches or pull requests

2 participants