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

bulkDetails response is empty #18

Closed
anod opened this issue Apr 20, 2018 · 3 comments
Closed

bulkDetails response is empty #18

anod opened this issue Apr 20, 2018 · 3 comments

Comments

@anod
Copy link

anod commented Apr 20, 2018

Hi

BulkDetailsResponse is success, but empty.

packageNames size = 324

I/DebugHttpClientAdapter: Requesting https://android.clients.google.com/fdfe/bulkDetails
I/DebugHttpClientAdapter: HTTP result code 200

result = {BulkDetailsResponse@5331}
entry_ = {ProtobufArrayList@5334} size = 0
memoizedSerializedSize = -1
unknownFields = {UnknownFieldSetLite@5335}
memoizedHashCode = 0
shadow$klass = {Class@5332} ""
shadow$monitor = -2050010224

Other APIs like search and details are working.

Did you notice this one? Do you think there is may be a throttle?

@yeriomin
Copy link
Owner

Did you notice this one?

Yep.

Do you think there is may be a throttle?

No, just an API change.

@anod
Copy link
Author

anod commented Apr 20, 2018

Request format was changed, this worked for me:


  message BulkDetailsRequestDocProperties
  {
  }

  message BulkDetailsRequestDoc
  {
      required string docid = 1;
      required int32 versionCode = 2;
      required int32 num2 = 3;
      required BulkDetailsRequestDocProperties properties = 7;
  }

  message BulkDetailsRequest
  {
      repeated BulkDetailsRequestDoc docs = 8;
  }

In addition I had to update "x-dfe-encoded-targets" header as well

@anod anod closed this as completed Apr 20, 2018
@yeriomin
Copy link
Owner

Thanks for sharing. Updating "x-dfe-encoded-targets" was enough for me.

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

No branches or pull requests

2 participants