Skip to content

Invalid Response #2

Description

@hascommitissues

I'm running my API at https://localhost:5001 and the Hello page suggesting me to use npx get-dtos typescript https://localhost:5001

Image

When I run it, I get the following response in the console:

PS E:\username\sources\appName\uiApp> npx get-dtos typescript
(node:3592) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
ERROR: Could not write DTOs to: E:\username\sources\appName\uiApp\src\servicestack\dtos.ts
ERROR: Invalid Response from https://localhost:5001/types/typescript

How do I at least debug what's wrong?

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