Skip to content

400 bad request #40

Description

@santhh

Hello: Thanks for making this project open for everyone! I am getting this error message when publishing to a topic. Payload is relatively big . Any idea what may be causing this?

Message Size: 1257
java.util.concurrent.ExecutionException: com.spotify.google.cloud.pubsub.client.RequestFailedException: 400 Bad Request
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)

I am using this method below.
final List messageIds = pubsub.publish(PROJECT_ID, this.topic, messages).get();

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions