Replies: 6 comments 1 reply
-
Hey! Thanks for reaching out and sorry to hear you're running into a trouble. Could you please share with us your config file and tell us which version of Dev Proxy you're using so that we can see if we can reproduce it? Alternatively, you could also try to change the log level to |
Beta Was this translation helpful? Give feedback.
-
Hi ! docker run command i'm using:
attaching "devproxyrc.json" and "mocks.json" |
Beta Was this translation helpful? Give feedback.
-
with logging level set to 'trace', the following is captured: req ╭ GET https://graph.microsoft.com/v1.0/me |
Beta Was this translation helpful? Give feedback.
-
req ╭ GET https://graph.microsoft.com/v1.0/me |
Beta Was this translation helpful? Give feedback.
-
OK, so in your mocks you have |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I can't reproduce your issue. After starting the Dev Proxy container using the exact command you shared, and then calling Graph using
Can you try to run |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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 🙏
Beta Was this translation helpful? Give feedback.
All reactions