Skip to content

Empty response from API #236

@ansgarS

Description

@ansgarS

Hey there, I am using the latest cdk-nextjs construct and want to fetch from an API route. I am using the pages router and just added this API route:
image

This route is not doing much:
image

Problem: When I call it, I can see the log in the server just before the return (so it really executes it), but I just get an empty response:
image
image

Any idea what I am missing in the setup?

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