Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Java Client byte[] encoding throws Illegal character #69

@Burtan

Description

@Burtan

Hi,
when trying to send byte[] parameters as body information to appengine I'm getting the following error:

com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
{
  "code" : 400,
  "errors" : [ {
    "domain" : "global",
    "message" : "com.fasterxml.jackson.databind.JsonMappingException: Illegal character '_' (code 0x5f) in base64 content\n at [Source: N/A; line: -1, column: -1] (through reference chain: backend.apis.PutSongRequest[\"sheetsData\"])",
    "reason" : "badRequest"
  } ],
  "message" : "com.fasterxml.jackson.databind.JsonMappingException: Illegal character '_' (code 0x5f) in base64 content\n at [Source: N/A; line: -1, column: -1] (through reference chain: backend.apis.PutSongRequest[\"sheetsData\"])"
}

In another project, receiving byte[] works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions