You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 15, 2026. It is now read-only.
Based on the Proto file, the List service states that it returns a list of books, which when received by the client would be of the format: { books: [] }. But the statement in server.js block directly sends the books array to the callback. Hence the client will not receive anything.
It should rather be sent as an object as follows: {books} or {books: books}
Based on the Proto file, the
Listservice states that it returns a list of books, which when received by the client would be of the format:{ books: [] }. But the statement inserver.jsblock directly sends the books array to the callback. Hence the client will not receive anything.It should rather be sent as an object as follows:
{books}or{books: books}The link of the page where the issue is: https://codelabs.developers.google.com/codelabs/cloud-grpc/index.html#4