Skip to content

Tasks API Batch requests returning 404 #675

@bbreslauer

Description

@bbreslauer

Batch requests on the Tasks API seem to always return 404 errors:

404. That’s an error.

The requested URL /batch?key=<the key> was not found on this server. That’s all we know.

Example code that does this:

var batch = gapi.client.newBatch()
batch.add(gapi.client.tasks.tasklists.list({}))
batch.then((response) => {
	console.log(response);
})

I filed https://issuetracker.google.com/issues/168580260 against the Tasks service, but they closed it saying that the JS API client library is sending the request to the wrong endpoint, and they suggested opening an issue here.

Metadata

Metadata

Assignees

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