Skip to content

❌ Invalid Object Response for Certain Object IDs #56

@ZOUHAIRFGRA

Description

@ZOUHAIRFGRA

Title:

❌ Invalid Object Response for Certain Object IDs

Description:

When requesting certain objects from the API, the response returns { "message": "Not a valid object" } instead of proper metadata. For example, object ID 855340 does not return a valid response.

Steps to Reproduce:

  1. Fetch object details from the API:
    GET https://collectionapi.metmuseum.org/public/collection/v1/objects/855340
    
  2. The response is:
    {
      "message": "Not a valid object"
    }

Expected Behavior:

  • The API should return either:
    • A proper object response, if the object exists.
    • A structured error message with details explaining why the object is missing (e.g., removed, not public, etc.).

Additional Context:

  • This issue affects certain objects but not all. Other IDs work as expected.
  • Please confirm if this object is permanently removed or if it's an API error.

Metadata

Metadata

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