Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken links on dashboard, was: JC ArgumentError: wrong number of arguments (given 5, expected 1..2) #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

radiospiel
Copy link
Owner

@radiospiel radiospiel commented Apr 6, 2021

The following description was loaded from https://issues.mediafellows.com/issues/75237

The X-Window-Location header points to https://itv.mediastore.app/db/dashboard

This page sends out the following request twice that fail with an error 500

curl 'https://jc.api.mediastore.app/v20140601/workflows/search?t=1617710925' \
-X 'POST' \
-H 'Content-Type: application/json' \
-H 'Host: jc.api.mediastore.app' \
-H 'Origin: https://itv.mediastore.app' \
-H 'X-Window-Location: https://itv.mediastore.app/db/dashboard' \
-H 'Session-Id: a8e...d4b' \
-H 'Affiliation-Id: itv' \
-H 'Role-Id: 10011' \
--data-binary '{"@context":"https://jc.api.mediastore.app/v20140601/context/workflow","per":1,"root_only":true,"stats":"by_status","filters":{"workflow":["Workflow::Itv::ImportFromWatchFolder"]}}'

I don't know why the request is sent twice -and also the payload looks questionable.- Will dig deeper and report back.


  • fix
  • spec

@radiospiel radiospiel added the wip label Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant