Hi folks,
As a development tool, I’m trying to send a compressed bytes
value in the grpc request message to my service extension. This is just compressed JSON text encoded as a byte string, and the size is ~5300 bytes. However, I immediately get back a 414: The Request-URI is longer than the server is willing to interpret
.
Here is the grpc protobuf:
rpc InitializeThing (InitRequest) returns (Response) {
option (permission.action) = CREATE;
option (permission.resource) = "ADMIN:NAMESPACE:{namespace}:CLOUDSAVE:RECORD";
option (google.api.http) = {
post: "/v1/admin/namespace/{namespace}/thing/init"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Create or refresh thing state"
description: "Create or refresh thing state"
security: {
security_requirement: {
key: "Bearer"
value: {}
}
}
};
}
message InitRequest {
string namespace = 1;
string id = 2;
bool reset = 4;
optional bytes definition = 100;
}
Is this something configured on the AB server side, or a problem with my protobuf? This is using the generated Unity service extension API. Everything is up-to-date, SDK and extend SE framework and API codegen.
Thanks,
Chris