Skip to content

NULL value found, but an integer is required #7

Open
@thefrosty

Description

@thefrosty

Found another issue on the same plane as #4, this one for taxonomies.

Running a curl on my local WordPress install:

curl --location --request GET 'https://local.test/wp-json/wp/v2/tags' \
--header 'Authorization: Basic SomeAweseomKey' \
--header 'Cookie: PHPSESSID=ba5ea78b3f9eeddf3cd064674e1381c2'

Returns:

{
    "code": "rest_invalid_param",
    "message": "Invalid parameter(s): post",
    "data": {
        "status": 400,
        "params": {
            "post": "NULL value found, but an integer is required"
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    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