Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

404 error when generating REST queries #411

@CharlieDLee

Description

@CharlieDLee

Category

[ ] Enhancement

[ X] Bug

[ ] Question

Version

Please specify what version of the library you are using: [2.0.3 ]

Expected / Desired Behavior

REST queries generated using using pnp.sp.web.lists.getByTitle('XXX').items.get() should issue the correct call to the REST endpoint and not generate a 404 error.

Observed Behavior

Queries issued using the above code generate a 404 error as the list name (in my case SitePages) of the hosting pages library is appended to the query,

Steps to Reproduce

As above.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions