Skip to content

Running dev proxy in docker - "An error occurred in a plugin" #1401

@gavspeed

Description

@gavspeed

Help please! I followed the steps described here to run dev proxy from docker container - https://learn.microsoft.com/en-us/microsoft-cloud/dev/dev-proxy/how-to/use-dev-proxy-in-docker-container

I wish to use the mocks response feature.

I have a mocks.json and devproxyyrc.json files configured. The mocks.json is a very simple example to start with like this one - https://learn.microsoft.com/en-us/microsoft-cloud/dev/dev-proxy/technical-reference/mockresponseplugin#mocks-file-examples

Attempting to use postman (GET https://graph.microsoft.com/v1.0/me) and have configured postman to use a custom proxy pointing to 127.0.0.1:8000

The request hits the proxy but returns:

req ╭ GET https://graph.microsoft.com/v1.0/me
time │ 09/30/2025 13:47:03 +00:00
fail │ An error occurred in a plugin
pass ╰ Passed through

It may well be a mistake on my part, but any pointers you can help would be great 🙏

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