Skip to content

Occasionally a resource list request returns a 400 response #11

Description

@sargunv

A retry always works.

The error is from this code:

let path = "/api/v2/" + event.queryStringParameters.endpoint + "/";
if (!path) {
callback(null, {statusCode: 400, body: "path must not be empty"});
return;
}

Looks like sometimes the endpoint name isn't being passed to the function. May be another Netlify bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions