Skip to content

Add integration test for creator detail endpoint returning 404 for a non-existent creator ID #665

Description

@Chucks1093

Summary

The creator detail endpoint should return 404 when the requested creator ID does not exist in the database. An integration test should confirm the status code, the error message shape, and that no internal details are leaked in the response body.

Scope

  • Call the creator detail endpoint with a creator ID that does not exist
  • Assert response status is 404
  • Assert response body contains an error field with a message identifying the resource as not found
  • Assert the response does not include database error details, table names, or stack traces

Acceptance Criteria

  • Response status is 404 for non-existent creator
  • error field present with descriptive message
  • No internal details in response body
  • Response shape consistent with other 404 responses in the API

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions