Skip to content

CDAClient does not show error message from Contentful #203

@kevcodez

Description

@kevcodez

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions