Skip to content

Receiving an "errorCode":"ERR_DIRECT_INVOKE" when running demo1 #6

@dimascrocco

Description

@dimascrocco

Steps to reproduce:

  • just follow the steps from the repository/youtube video

Environment:

S.O

  • Windows 11
  • Ubuntu 22.04

dapr

  • CLI version: 1.11.0
  • Runtime version: 1.11.4

python

  • 2.x or 3.x

Error

{"errorCode":"ERR_DIRECT_INVOKE","message":"failed getting app id either from the URL path or the header dapr-app-id"}

  • the URL http://localhost:8000 works normally
  • there is no error when running dapr run --app-id api --app-port 8000 --dapr-http-port 3500 python main.py

Aditional comments

this is a veryyyyyyyy frustating issue since the associated video is amazing... plz help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions